.app-shell {
  display: grid;
  grid-template-columns: 244px minmax(0, 1fr);
  grid-template-rows: auto auto minmax(0, 1fr);
  gap: 0;
  min-height: 100vh;
  height: 100vh;
  overflow: hidden;
  padding: 0;
  transition: grid-template-columns 180ms ease;
}

.app-shell.drawer-mode-icons {
  grid-template-columns: 64px minmax(0, 1fr);
}

.app-drawer {
  grid-row: 1 / -1;
}

.workspace-header-root,
.workspace {
  grid-column: 2;
  max-width: 1680px;
  min-width: 0;
  overflow-x: clip;
  margin: 0 auto;
  width: 100%;
}

.impersonation-banner {
  display: flex;
  grid-column: 2;
  align-self: start;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: calc(100% - 18px);
  max-width: 1662px;
  min-width: 0;
  margin: 9px auto 0;
  border: 1px solid rgba(183, 121, 31, 0.28);
  border-radius: 8px;
  background: var(--amber-soft);
  color: #5f3b08;
  padding: 9px 12px;
  font-size: 13px;
  font-weight: 800;
}

.impersonation-banner > div {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.impersonation-banner strong {
  font-weight: 950;
}

.impersonation-banner .ghost-button {
  flex: 0 0 auto;
  min-height: 0;
  height: var(--button-height);
  border-color: rgba(183, 121, 31, 0.35);
  background: #ffffff;
  color: #7a4a08;
  white-space: nowrap;
}

.workspace-header-root {
  width: calc(100% - 18px);
  max-width: 1662px;
}

.workspace-header-root:empty {
  display: none;
}

.workspace-header {
  width: 100%;
  max-width: none;
  top: 9px;
  margin-top: 9px;
}

.workspace-header.panel-header {
  margin-bottom: 0;
}

.workspace {
  position: relative;
  padding: 9px;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
}

.frontend-route-loading {
  display: none;
}

html.frontend-route-styles-pending .workspace > :not(.frontend-route-loading) {
  visibility: hidden;
}

html.frontend-route-styles-pending .frontend-route-loading {
  position: absolute;
  inset: 9px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--muted);
  padding: 32px;
}

.frontend-route-loading > span {
  width: 24px;
  height: 24px;
  border: 3px solid color-mix(in srgb, var(--blue) 20%, var(--line));
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: frontend-route-loading-spin 700ms linear infinite;
}

.frontend-route-loading > strong {
  color: var(--text);
  font-size: 14px;
}

@keyframes frontend-route-loading-spin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .frontend-route-loading > span {
    animation: none;
  }
}

.car-search-frame,
.car-parking-license-frame {
  display: block;
  width: 100%;
  height: calc(100vh - 18px);
  border: 0;
  border-radius: 8px;
  background: #eef2f5;
}

.car-search-frame {
  border-radius: 0;
  background: transparent;
}

.workspace-header-root:not(:empty) + .workspace {
  padding-top: 9px;
}

.workspace-header-root:not(:empty) + .workspace > .task-panel,
.workspace-header-root:not(:empty) + .workspace > .analysis-panel {
  min-height: calc(100vh - 108px);
}

.app-drawer {
  position: sticky;
  top: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) 52px;
  gap: 12px;
  height: 100vh;
  min-height: 0;
  border-right: 1px solid var(--line);
  background: rgba(250, 252, 255, 0.96);
  padding: 0 10px 10px;
  backdrop-filter: blur(18px);
}

.app-drawer.icon-drawer {
  padding: 0 8px 10px;
}

.drawer-logo-button {
  border: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.drawer-logo-button:hover,
.drawer-logo-button:focus-visible {
  border-color: #bfdbfe;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
  outline: none;
}

.drawer-brand {
  position: relative;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 56px;
  padding: 8px 0 10px;
  border-bottom: 1px solid var(--line);
}

.app-drawer.icon-drawer .drawer-brand {
  grid-template-columns: 40px;
  justify-content: center;
  min-height: 56px;
  padding: 8px 0 10px;
}

.app-drawer.icon-drawer .drawer-brand-text {
  display: none;
}

.drawer-logo-app-menu {
  position: absolute;
  top: calc(100% - 4px);
  left: 0;
  z-index: 80;
  display: none;
  width: min(220px, calc(100vw - 24px));
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 6px;
  box-shadow: var(--shadow-lg);
}

.drawer-logo-app-menu.is-open {
  display: grid;
}

.drawer-logo-app-menu button {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  width: 100%;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  padding: 6px;
  text-align: left;
  font-size: 13px;
  font-weight: 850;
  cursor: pointer;
}

.drawer-logo-app-menu button:hover,
.drawer-logo-app-menu button.active {
  border-color: #bfdbfe;
  background: var(--blue-soft);
  color: var(--blue);
}

.drawer-logo-app-menu .menu-icon-box {
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.drawer-logo-app-menu span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.drawer-action-button {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(205, 215, 229, 0.9);
  border-radius: 8px;
  background: #ffffff;
  color: #34415b;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 120ms ease;
}

.drawer-action-button:hover {
  border-color: rgba(38, 74, 130, 0.22);
  background: #eef4ff;
  color: var(--blue);
}

.drawer-logo-button {
  transition: background 160ms ease, color 160ms ease, transform 120ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.drawer-logo-button:hover,
.drawer-logo-button:focus-visible {
  background: #eef4ff;
  color: var(--blue);
}

.drawer-brand strong {
  display: block;
  overflow: hidden;
  color: var(--text);
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.drawer-nav {
  display: grid;
  align-content: start;
  gap: 3px;
  min-height: 0;
  overflow-y: auto;
  padding-right: 2px;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}

.app-drawer.icon-drawer .drawer-nav {
  justify-self: stretch;
  justify-items: center;
  width: calc(100% + 8px);
  margin-right: -8px;
  padding-right: 8px;
  box-sizing: border-box;
  scrollbar-gutter: auto;
  scrollbar-width: thin;
}

.app-drawer.icon-drawer .drawer-nav::-webkit-scrollbar {
  width: 4px;
}

.app-drawer.icon-drawer .drawer-nav::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.45);
}

.app-drawer.icon-drawer .drawer-nav::-webkit-scrollbar-track {
  background: transparent;
}

.drawer-nav a {
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 40px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  padding: 0 10px 0 8px;
  text-align: left;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease, transform 120ms ease;
}

.app-drawer.icon-drawer .drawer-nav a {
  grid-template-columns: 38px;
  width: 44px;
  min-height: 40px;
  justify-content: center;
  padding: 0;
}

.menu-icon-box {
  display: grid;
  place-items: center;
}

.drawer-nav a .menu-icon-box {
  width: 34px;
  height: 34px;
  overflow: hidden;
  border-radius: 11px;
  background: transparent;
  color: #334155;
}

.app-drawer.icon-drawer .drawer-nav a .menu-icon-box {
  width: 38px;
  height: 38px;
}

.drawer-nav a strong {
  overflow: hidden;
  font-size: 13px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.drawer-nav-section,
.drawer-nav-items {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.drawer-nav-section.has-group {
  gap: 2px;
  margin: 4px 0 5px;
  border-radius: 8px;
  background: rgba(239, 246, 255, 0.68);
  padding: 0 0 3px;
}

.drawer-nav-section.has-group .drawer-nav-items {
  position: relative;
  margin: 0;
  border: 0;
  background: transparent;
  padding: 0;
}

.drawer-nav-group {
  display: flex;
  align-items: center;
  gap: 5px;
  width: 100%;
  min-height: 28px;
  margin: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #657184;
  padding: 0 8px;
  font-size: 11px;
  font-weight: 850;
  text-align: left;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease;
}

.drawer-nav-group:hover {
  background: rgba(219, 234, 254, 0.72);
  color: #27303a;
}

.drawer-nav-group .menu-svg-icon {
  width: 11px;
  height: 11px;
}

.app-drawer.icon-drawer .drawer-nav a strong {
  display: none;
}

.app-drawer.icon-drawer .drawer-nav-section,
.app-drawer.icon-drawer .drawer-nav-items {
  justify-items: center;
  width: 100%;
}

.app-drawer.icon-drawer .drawer-nav-section.has-group .drawer-nav-items {
  margin: 0;
  border: 0;
  background: transparent;
  padding: 0;
}

.app-drawer.icon-drawer .drawer-nav-section.has-group {
  width: 44px;
  margin: 3px 0;
  border-top: 1px solid rgba(148, 163, 184, 0.55);
  border-bottom: 1px solid rgba(148, 163, 184, 0.55);
  border-radius: 6px;
  background: rgba(239, 246, 255, 0.68);
  padding: 2px 0;
}

.drawer-nav a:hover {
  background: #eef3f9;
  color: #26354f;
}

.drawer-nav a.active {
  background: #eef4ff;
  color: var(--blue);
}

.drawer-user {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  height: 52px;
  border-top: 1px solid var(--line);
  padding-top: 6px;
}

.drawer-user-actions {
  display: flex;
  align-items: center;
  gap: 5px;
}

.drawer-application-shortcut {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--muted);
  padding: 0;
}

.drawer-application-shortcut .menu-svg-icon {
  width: 15px;
  height: 15px;
}

.drawer-application-shortcut.settings:hover,
.drawer-application-shortcut.settings.active {
  border-color: #86efac;
  background: #f0fdf4;
  color: #15803d;
}

.drawer-application-shortcut.development:hover,
.drawer-application-shortcut.development.active {
  border-color: #fda4af;
  background: #fff1f2;
  color: #be123c;
}

.app-drawer.icon-drawer .drawer-user {
  grid-template-columns: 38px;
  justify-content: center;
}

.drawer-user-avatar {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 9px;
  background: color-mix(in srgb, var(--profile-icon-color, var(--blue)) 12%, #ffffff);
  color: var(--profile-icon-color, var(--blue));
  font-size: 13px;
  font-weight: 900;
  overflow: hidden;
}

.drawer-user-avatar .menu-icon-box {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: transparent;
  color: inherit;
}

.drawer-user-avatar .menu-svg-icon {
  width: 17px;
  height: 17px;
}

.drawer-user-avatar .custom-menu-icon-box {
  padding: 0;
}

.drawer-user-avatar .custom-menu-icon {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.drawer-user-avatar.user-avatar-large {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  font-size: 22px;
}

.drawer-user-avatar.user-avatar-large .menu-svg-icon {
  width: 28px;
  height: 28px;
}

.drawer-user-profile-button {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-width: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  padding: 0;
  text-align: left;
  cursor: pointer;
}

.drawer-user-profile-button:hover .drawer-user-avatar,
.drawer-user-profile-button:focus-visible .drawer-user-avatar {
  background: #dbeafe;
}

.drawer-user-text {
  min-width: 0;
}

.drawer-user-text strong,
.drawer-user-text span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.drawer-user-text strong {
  color: var(--text);
  font-size: 12px;
  font-weight: 850;
}

.drawer-user-text span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
}

.app-drawer.icon-drawer .drawer-user-text,
.app-drawer.icon-drawer .drawer-user-actions {
  display: none;
}

.app-drawer.icon-drawer .drawer-user-profile-button {
  grid-template-columns: 38px;
}

.account-switcher-dialog {
  width: min(520px, 100%);
}

.account-switcher-list {
  display: grid;
  gap: 8px;
}

.account-switcher-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #ffffff;
  color: var(--text);
  padding: 10px;
  text-align: left;
}

.account-switcher-item:hover:not(:disabled) {
  border-color: color-mix(in srgb, var(--blue) 40%, var(--line));
  background: #f8fbff;
}

.account-switcher-item.active {
  border-color: color-mix(in srgb, var(--blue) 45%, var(--line));
  background: #eef4ff;
}

.account-switcher-item:disabled {
  cursor: default;
  opacity: 1;
}

.account-switcher-item > span {
  min-width: 0;
}

.account-switcher-item > span strong,
.account-switcher-item > span small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-switcher-item > span strong {
  font-size: 14px;
}

.account-switcher-item > span small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.account-switcher-item > b {
  border-radius: 999px;
  background: #eef3f9;
  color: var(--muted);
  padding: 5px 9px;
  font-size: 11px;
  white-space: nowrap;
}

.account-switcher-item.active > b {
  background: #dbeafe;
  color: var(--blue);
}

.account-switcher-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.account-switcher-logout {
  color: #334155;
}

.user-profile-dialog {
  grid-template-rows: auto minmax(0, 1fr) auto;
  max-width: 720px;
}

.user-profile-dialog > .dialog-header {
  margin: -18px -18px 0;
  border-bottom: 1px solid var(--line);
  background: #f8fafc;
  padding: 15px 18px;
}

.user-profile-dialog > .dialog-actions {
  margin: 0 -18px -18px;
  border-top: 1px solid var(--line);
  background: #f8fafc;
  padding: 12px 18px 14px;
}

.profile-overview {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdff;
  padding: 18px;
}

.profile-overview-identity {
  display: grid;
  gap: 4px;
}

.profile-overview-identity strong {
  color: var(--text);
  font-size: 20px;
  font-weight: 950;
}

.profile-overview-identity span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  overflow-wrap: anywhere;
}

.profile-overview-avatar-button {
  display: grid;
  border: 0;
  border-radius: 14px;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.profile-overview-avatar-button:hover .drawer-user-avatar,
.profile-overview-avatar-button:focus-visible .drawer-user-avatar {
  box-shadow: 0 0 0 3px var(--blue-soft), 0 0 0 4px #bfdbfe;
}

.profile-overview-avatar-button:disabled {
  cursor: default;
}

.profile-overview-actions {
  display: flex;
  align-self: start;
  gap: 8px;
}

.profile-overview-action-button .menu-svg-icon {
  width: 16px;
  height: 16px;
}

.profile-overview-action-button:hover,
.profile-overview-action-button:focus-visible {
  background: var(--blue-soft);
  color: var(--blue);
}

.profile-overview-action-button:disabled {
  cursor: not-allowed;
  opacity: .5;
}

.profile-overview-logout-button {
  color: var(--red);
}

.profile-overview-logout-button:hover,
.profile-overview-logout-button:focus-visible {
  background: var(--red-soft);
  color: var(--red);
}

.profile-advisor-setting {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdff;
  padding: 14px 16px;
}

.profile-advisor-setting > span,
.profile-advisor-setting > span strong,
.profile-advisor-setting > span small {
  display: block;
  min-width: 0;
}

.profile-advisor-setting > span {
  display: grid;
  gap: 3px;
}

.profile-advisor-setting > span strong {
  color: var(--text);
  font-size: 13px;
  font-weight: 900;
}

.profile-advisor-setting > span small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.45;
}

.profile-advisor-controls {
  display: grid;
  justify-items: end;
  gap: 8px;
  flex: 0 0 auto;
}

.profile-advisor-toggle,
.profile-mail-thread-switch {
  position: relative;
  display: grid;
  grid-template-columns: 42px 28px;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  cursor: pointer;
}

.profile-advisor-toggle input {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
  pointer-events: none;
}

.profile-advisor-toggle i,
.profile-mail-thread-switch i {
  position: relative;
  display: block;
  width: 42px;
  height: 24px;
  border-radius: 999px;
  background: #d8e1ed;
  box-shadow: inset 0 0 0 1px rgba(100, 116, 139, 0.18);
  transition: background 160ms ease, box-shadow 160ms ease;
}

.profile-advisor-toggle i::after,
.profile-mail-thread-switch i::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.22);
  content: "";
  transition: transform 160ms ease;
}

.profile-advisor-toggle input:checked + i,
.profile-mail-thread-switch[aria-checked="true"] i {
  background: var(--blue);
}

.profile-advisor-toggle input:checked + i::after,
.profile-mail-thread-switch[aria-checked="true"] i::after {
  transform: translateX(18px);
}

.profile-advisor-toggle input:focus-visible + i,
.profile-mail-thread-switch:focus-visible i {
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.14);
}

.profile-advisor-toggle b,
.profile-mail-thread-switch b {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.profile-advisor-size {
  display: flex;
  align-items: center;
  gap: 6px;
}

.profile-advisor-size > span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
}

.profile-advisor-size > div {
  display: inline-flex;
  overflow: hidden;
  border: 1px solid #cbd5e1;
  border-radius: 7px;
  background: #ffffff;
}

.profile-advisor-size button {
  width: 34px;
  height: 28px;
  border: 0;
  border-right: 1px solid #dbe3ed;
  background: transparent;
  color: #64748b;
  padding: 0;
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
}

.profile-advisor-size button:last-child {
  border-right: 0;
}

.profile-advisor-size button:hover:not(:disabled),
.profile-advisor-size button:focus-visible,
.profile-advisor-size button.active {
  background: #dbeafe;
  color: #1d4ed8;
  outline: none;
}

.profile-advisor-size button:disabled {
  cursor: not-allowed;
  opacity: .45;
}

.profile-microsoft-mail {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdff;
  padding: 14px 16px;
}

.profile-microsoft-mail.is-connected {
  border-color: #bfdbfe;
  background: #f7fbff;
}

.profile-google-mail.is-connected {
  border-color: #fecaca;
  background: #fffafa;
}

.profile-microsoft-mail > header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}

.profile-microsoft-mail > header > div,
.profile-microsoft-mail-account > span {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.profile-microsoft-mail > header strong,
.profile-microsoft-mail-account strong {
  overflow-wrap: anywhere;
  color: var(--text);
  font-size: 13px;
  font-weight: 900;
}

.profile-microsoft-mail > header small,
.profile-microsoft-mail-account small,
.profile-microsoft-mail-connect p,
.profile-microsoft-mail-loading {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.45;
}

.profile-microsoft-mail > header b {
  border-radius: 999px;
  background: #e2e8f0;
  color: #475569;
  padding: 5px 9px;
  font-size: 10px;
  font-weight: 900;
  white-space: nowrap;
}

.profile-microsoft-mail > header b.is-ready {
  background: #dcfce7;
  color: #15803d;
}

.profile-microsoft-mail-icon {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 9px;
  background: #dbeafe;
  color: #2563eb;
}

.profile-microsoft-mail-icon .menu-svg-icon {
  width: 18px;
  height: 18px;
}

.profile-google-mail .profile-microsoft-mail-icon {
  background: #fee2e2;
  color: #dc2626;
}

.profile-microsoft-mail-account {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 12px;
  border-top: 1px solid #dbeafe;
  padding-top: 10px;
}

.profile-microsoft-mail-account > small {
  overflow-wrap: anywhere;
  text-align: right;
}

.profile-mail-actions {
  display: flex;
  justify-content: flex-end;
}

.profile-microsoft-mail-connect {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.profile-microsoft-mail-connect p {
  margin: 0;
}

.profile-microsoft-mail-loading {
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.architect-assistant {
  --architect-assistant-size: 112px;
  position: fixed;
  top: 76px;
  right: 20px;
  z-index: 151;
  width: var(--architect-assistant-size);
  aspect-ratio: 1;
  pointer-events: none;
  transition: width 180ms ease;
}

.architect-assistant.size-mini {
  --architect-assistant-size: 48px;
}

.architect-assistant-trigger {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
  filter: drop-shadow(0 10px 12px rgb(14 116 144 / 24%));
  padding: 0;
  cursor: grab;
  touch-action: none;
  pointer-events: auto;
  -webkit-tap-highlight-color: transparent;
  transition: filter 180ms ease, transform 180ms ease;
}

.architect-assistant.is-open .architect-assistant-trigger {
  filter: drop-shadow(0 12px 18px rgb(8 145 178 / 34%));
  transform: scale(1.035);
}

.architect-assistant.is-dragging .architect-assistant-trigger {
  cursor: grabbing;
  user-select: none;
}

.architect-assistant-trigger:focus-visible {
  border-radius: 50%;
  outline: 2px solid #22d3ee;
  outline-offset: 4px;
}

.architect-assistant-image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

.architect-assistant-image-static {
  opacity: 0;
}

.architect-assistant-image-animated {
  opacity: 1;
}

.architect-assistant-speed-dial {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  display: flex;
  width: min(224px, calc(100vw - 24px));
  align-items: flex-end;
  gap: 5px;
  overflow: visible;
  flex-direction: column;
  padding: 2px;
  color: #f8fafc;
  pointer-events: auto;
  animation: architect-assistant-speed-dial-in 180ms cubic-bezier(.2, .85, .25, 1);
}

.architect-assistant.panel-above .architect-assistant-speed-dial {
  top: auto;
  bottom: calc(100% + 12px);
}

.architect-assistant.panel-align-start .architect-assistant-speed-dial {
  right: auto;
  left: 0;
  align-items: flex-start;
}

.architect-assistant-top-actions {
  display: flex;
  align-items: center;
  gap: 5px;
}

.architect-assistant-size-switch {
  position: relative;
  display: grid;
  width: 28px;
  height: 28px;
  border: 1px solid rgb(103 232 249 / 72%);
  border-radius: 8px;
  background: linear-gradient(145deg, rgb(15 30 54 / 80%), rgb(7 18 38 / 88%));
  box-shadow: 0 4px 10px rgb(15 23 42 / 16%), inset 0 0 0 1px rgb(255 255 255 / 9%);
  backdrop-filter: blur(16px) saturate(135%);
  -webkit-backdrop-filter: blur(16px) saturate(135%);
  color: #f8fafc;
  padding: 0;
  place-items: center;
  font-size: 13px;
  font-weight: 950;
  cursor: pointer;
  transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.architect-assistant-size-switch:hover,
.architect-assistant-size-switch:focus-visible {
  border-color: #67e8f9;
  box-shadow: 0 0 0 2px rgb(34 211 238 / 18%), inset 0 0 0 1px rgb(255 255 255 / 15%);
  outline: none;
  transform: translateY(-1px);
}

.architect-assistant-size-glyph {
  display: grid;
  place-items: center;
  line-height: 1;
}

.architect-assistant-vector-icon {
  display: block;
  width: 15px;
  height: 15px;
  overflow: visible;
  stroke: currentColor;
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.architect-assistant-vector-icon rect {
  stroke: none;
}

.architect-assistant-action.is-icon-only .architect-assistant-vector-icon,
.architect-assistant-size-switch .architect-assistant-vector-icon {
  width: 14px;
  height: 14px;
}

.architect-assistant-action-group {
  display: flex;
  width: 100%;
  align-items: flex-end;
  flex-direction: column;
}

.architect-assistant.panel-align-start .architect-assistant-action-group {
  align-items: flex-start;
}

.architect-assistant-action-group.is-icon-only,
.architect-assistant-action-group.is-icon-only > div {
  width: auto;
}

.architect-assistant-action-group > div {
  display: flex;
  width: 100%;
  align-items: flex-end;
  gap: 5px;
  flex-direction: column;
}

.architect-assistant.panel-align-start .architect-assistant-action-group > div {
  align-items: flex-start;
}

.architect-assistant-action {
  position: relative;
  display: flex;
  width: 100%;
  max-width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border: 1px solid rgb(125 211 252 / 68%);
  border-radius: 9px;
  background: linear-gradient(145deg, rgb(21 39 65 / 80%), rgb(7 19 40 / 90%) 72%);
  box-shadow: 0 5px 12px rgb(15 23 42 / 15%), inset 0 0 0 1px rgb(255 255 255 / 9%), inset 0 1px 0 rgb(255 255 255 / 13%);
  backdrop-filter: blur(18px) saturate(135%);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
  color: #f8fafc;
  padding: 5px 6px 5px 11px;
  cursor: pointer;
  transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.architect-assistant-action.is-icon-only {
  width: auto;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  padding: 0;
}

.architect-assistant-action:hover,
.architect-assistant-action:focus-visible {
  z-index: 3;
  border-color: #67e8f9;
  box-shadow: 0 0 0 2px rgb(34 211 238 / 17%), inset 0 0 0 1px rgb(255 255 255 / 13%), inset 0 1px 0 rgb(255 255 255 / 18%);
  outline: none;
  transform: translateY(-1px);
}

.architect-assistant-action.is-icon-only:hover,
.architect-assistant-action.is-icon-only:focus-visible {
  box-shadow: none;
  transform: translateY(-1px);
}

.architect-assistant-action:disabled {
  cursor: not-allowed;
  opacity: .52;
}

.architect-assistant-action-copy {
  display: block;
  overflow: hidden;
  text-align: left;
}

.architect-assistant-action-copy strong {
  display: block;
  overflow: hidden;
  color: #f8fafc;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .02em;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.architect-assistant-action-icon {
  display: grid;
  width: 28px;
  height: 28px;
  border: 2px solid transparent;
  border-radius: 50%;
  background: linear-gradient(rgb(8 22 45 / 84%), rgb(8 22 45 / 84%)) padding-box, conic-gradient(from 30deg, #22d3ee, #38bdf8 34%, #8b5cf6 72%, #22d3ee) border-box;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 9%);
  color: #ffffff;
  flex: 0 0 28px;
  place-items: center;
  font-size: 13px;
  font-weight: 950;
  line-height: 1;
  transition: box-shadow 150ms ease, transform 150ms ease, filter 150ms ease;
}

.architect-assistant-action:hover .architect-assistant-action-icon,
.architect-assistant-action:focus-visible .architect-assistant-action-icon {
  box-shadow: 0 0 0 2px rgb(34 211 238 / 16%), inset 0 0 0 1px rgb(255 255 255 / 14%);
  filter: brightness(1.12);
  transform: scale(1.04);
}

.architect-assistant-action.is-danger {
  border-color: rgb(251 113 133 / 72%);
  background: linear-gradient(145deg, rgb(67 24 43 / 82%), rgb(31 13 31 / 90%));
}

.architect-assistant-action.is-icon-only .architect-assistant-action-icon {
  width: 28px;
  height: 28px;
  flex-basis: 28px;
  border: 1px solid rgb(125 211 252 / 68%);
  border-radius: 8px;
  background: linear-gradient(145deg, rgb(15 30 54 / 80%), rgb(7 18 38 / 88%));
  box-shadow: 0 4px 10px rgb(15 23 42 / 16%), inset 0 0 0 1px rgb(255 255 255 / 9%);
  font-size: 13px;
}

.architect-assistant-action-tooltip {
  position: absolute;
  top: 50%;
  right: calc(100% + 8px);
  z-index: 6;
  display: grid;
  width: max-content;
  max-width: 220px;
  gap: 2px;
  visibility: hidden;
  border: 1px solid rgb(103 232 249 / 45%);
  border-radius: 8px;
  background: rgb(7 18 38 / 97%);
  box-shadow: 0 6px 18px rgb(15 23 42 / 20%), inset 0 1px 0 rgb(255 255 255 / 10%);
  color: #f8fafc;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.4;
  opacity: 0;
  padding: 7px 9px;
  pointer-events: none;
  text-align: left;
  transform: translate(4px, -50%) scale(.97);
  transform-origin: right center;
  transition: opacity 130ms ease, transform 130ms ease, visibility 130ms ease;
}

.architect-assistant-action-tooltip::after {
  position: absolute;
  top: 50%;
  left: 100%;
  width: 7px;
  height: 7px;
  border-top: 1px solid rgb(103 232 249 / 45%);
  border-right: 1px solid rgb(103 232 249 / 45%);
  background: rgb(7 18 38 / 97%);
  content: "";
  transform: translate(-3px, -50%) rotate(45deg);
}

.architect-assistant-action-tooltip strong,
.architect-assistant-action-tooltip small {
  display: block;
}

.architect-assistant-action-tooltip strong {
  font-size: 11px;
  font-weight: 900;
  line-height: 1.35;
}

.architect-assistant-action-tooltip small {
  color: #bae6fd;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.45;
}

.architect-assistant-action:hover > .architect-assistant-action-tooltip,
.architect-assistant-action:focus-visible > .architect-assistant-action-tooltip,
.architect-assistant-size-switch:hover > .architect-assistant-action-tooltip,
.architect-assistant-size-switch:focus-visible > .architect-assistant-action-tooltip {
  visibility: visible;
  opacity: 1;
  transform: translate(0, -50%) scale(1);
}

.architect-assistant.panel-align-start .architect-assistant-action-tooltip {
  right: auto;
  left: calc(100% + 8px);
  transform-origin: left center;
}

.architect-assistant.panel-align-start .architect-assistant-action-tooltip::after {
  right: 100%;
  left: auto;
  border: 0;
  border-bottom: 1px solid rgb(103 232 249 / 45%);
  border-left: 1px solid rgb(103 232 249 / 45%);
  transform: translate(3px, -50%) rotate(45deg);
}

.architect-assistant-menu-empty {
  margin: 0;
  border: 1px solid rgb(125 211 252 / 52%);
  border-radius: 9px;
  background: rgb(7 18 38 / 94%);
  box-shadow: 0 5px 12px rgb(15 23 42 / 15%);
  color: #bae6fd;
  padding: 8px 12px;
  font-size: 11px;
  text-align: center;
}

.architect-architecture-panel-backdrop {
  position: fixed;
  inset: 0;
  z-index: 190;
  display: grid;
  justify-items: end;
  padding: 14px;
  background: rgba(15, 23, 42, .34);
  backdrop-filter: blur(3px);
}

.architect-architecture-panel {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: min(1180px, 100%);
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(203, 213, 225, .94);
  border-radius: 14px;
  background: #f5f8fc;
  box-shadow: -22px 0 70px rgba(15, 23, 42, .28);
}

.architect-architecture-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .94);
  padding: 11px 14px;
  backdrop-filter: blur(14px);
}

.architect-architecture-panel-header h2,
.architect-architecture-panel-header p {
  margin: 0;
}

.architect-architecture-panel-header h2 {
  margin-top: 2px;
  color: var(--text);
  font-size: 17px;
}

.architect-architecture-panel-body {
  min-height: 0;
  overflow: hidden;
  padding: 10px;
}

.architect-architecture-panel-body > .empty-state,
.architect-architecture-panel-body > .error {
  height: 100%;
}

.architect-feature-migration-backdrop {
  position: fixed;
  inset: 0;
  z-index: 191;
  display: grid;
  justify-items: end;
  padding: 14px;
  background: rgba(15, 23, 42, .34);
  backdrop-filter: blur(3px);
}

.architect-feature-migration-panel {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: min(560px, 100%);
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(203, 213, 225, .94);
  border-radius: 14px;
  background: #f8fafc;
  box-shadow: -22px 0 70px rgba(15, 23, 42, .28);
  color: var(--text);
}

.architect-feature-migration-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .96);
  padding: 14px 16px;
  backdrop-filter: blur(14px);
}

.architect-feature-migration-header h2,
.architect-feature-migration-header p {
  margin: 0;
}

.architect-feature-migration-header h2 {
  margin-top: 2px;
  font-size: 19px;
}

.architect-feature-migration-body {
  min-height: 0;
  overflow-y: auto;
  padding: 18px;
}

.architect-feature-migration-intro {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.architect-feature-migration-modes {
  margin: 0 0 18px;
  border: 0;
  padding: 0;
}

.architect-feature-migration-modes legend {
  margin-bottom: 7px;
  padding: 0;
  color: var(--text);
  font-size: 12px;
  font-weight: 850;
}

.architect-feature-migration-modes > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  border-radius: 11px;
  background: #e2e8f0;
  padding: 4px;
}

.architect-feature-migration-modes label {
  position: relative;
  display: flex;
  justify-content: center;
  border-radius: 8px;
  color: #475569;
  padding: 9px 8px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 850;
  transition: background 150ms ease, box-shadow 150ms ease, color 150ms ease;
}

.architect-feature-migration-modes label:hover {
  color: #0e7490;
}

.architect-feature-migration-modes label.selected {
  background: #fff;
  box-shadow: 0 1px 4px rgb(15 23 42 / 14%);
  color: #0e7490;
}

.architect-feature-migration-modes label:has(input:focus-visible) {
  outline: 2px solid #0891b2;
  outline-offset: 1px;
}

.architect-feature-migration-modes input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.architect-feature-migration-tenant-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.architect-feature-migration-tenant,
.architect-feature-migration-file {
  display: grid;
  gap: 7px;
}

.architect-feature-migration-tenant > span,
.architect-feature-migration-file > span,
.architect-feature-migration-features legend {
  color: var(--text);
  font-size: 12px;
  font-weight: 850;
}

.architect-feature-migration-tenant select,
.architect-feature-migration-file input {
  width: 100%;
}

.architect-feature-migration-features {
  margin: 20px 0;
  border: 0;
  padding: 0;
}

.architect-feature-migration-features legend {
  margin-bottom: 8px;
  padding: 0;
}

.architect-feature-migration-features > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.architect-feature-migration-features > .architect-feature-migration-selection-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.architect-feature-migration-features label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: #fff;
  padding: 11px;
  cursor: pointer;
  transition: border-color 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.architect-feature-migration-features label:hover,
.architect-feature-migration-features label.selected {
  border-color: #0891b2;
  background: #ecfeff;
  box-shadow: 0 0 0 2px rgb(6 182 212 / 10%);
}

.architect-feature-migration-features input {
  flex: 0 0 auto;
  margin-top: 2px;
}

.architect-feature-migration-features .architect-feature-migration-search {
  box-sizing: border-box;
  width: 100%;
  margin: 0;
}

.architect-feature-migration-features span,
.architect-feature-migration-features strong,
.architect-feature-migration-features small {
  display: block;
}

.architect-feature-migration-features span {
  min-width: 0;
}

.architect-feature-migration-features strong {
  font-size: 13px;
  line-height: 1.4;
}

.architect-feature-migration-features small,
.architect-feature-migration-file small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.architect-feature-migration-file input {
  border: 1px dashed #94a3b8;
  border-radius: 9px;
  background: #fff;
  padding: 10px;
}

.architect-feature-migration-body > .error,
.architect-feature-migration-status {
  margin-top: 14px;
}

.architect-feature-migration-status {
  border: 1px solid #86efac;
  border-radius: 9px;
  background: #f0fdf4;
  color: #166534;
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 750;
}

.architect-feature-migration-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, .96);
  padding: 12px 16px;
}

.architect-data-migration-backdrop {
  position: fixed;
  inset: 0;
  z-index: 191;
  display: grid;
  justify-items: end;
  padding: 14px;
  background: rgba(15, 23, 42, .34);
  backdrop-filter: blur(3px);
}

.architect-data-migration-panel {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: min(620px, 100%);
  height: 100%;
  overflow: hidden;
  border: 1px solid rgba(203, 213, 225, .94);
  border-radius: 14px;
  background: #f8fafc;
  box-shadow: -22px 0 70px rgba(15, 23, 42, .28);
  color: var(--text);
}

.architect-data-migration-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .96);
  padding: 14px 16px;
  backdrop-filter: blur(14px);
}

.architect-data-migration-header h2,
.architect-data-migration-header p {
  margin: 0;
}

.architect-data-migration-header h2 {
  margin-top: 2px;
  font-size: 19px;
}

.architect-data-migration-body {
  min-height: 0;
  overflow-y: auto;
  padding: 18px;
}

.architect-data-migration-intro {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.architect-data-migration-tenants {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.architect-data-migration-tenants label {
  display: grid;
  gap: 7px;
}

.architect-data-migration-tenants label > span,
.architect-data-migration-objects legend {
  color: var(--text);
  font-size: 12px;
  font-weight: 850;
}

.architect-data-migration-tenants select {
  width: 100%;
}

.architect-data-migration-objects {
  margin: 20px 0 0;
  border: 0;
  padding: 0;
}

.architect-data-migration-objects legend {
  padding: 0;
}

.architect-data-migration-objects > p {
  margin: 4px 0 10px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.architect-data-migration-objects > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.architect-data-migration-object {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
  gap: 8px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: #fff;
  padding: 11px;
  cursor: pointer;
  transition: border-color 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.architect-data-migration-object:hover,
.architect-data-migration-object.selected {
  border-color: #0891b2;
  background: #ecfeff;
  box-shadow: 0 0 0 2px rgb(6 182 212 / 10%);
}

.architect-data-migration-object.is-error {
  border-color: #fca5a5;
  background: #fff7f7;
}

.architect-data-migration-object > input {
  width: 17px;
  height: 17px;
  margin: 1px 0 0;
  accent-color: #0891b2;
}

.architect-data-migration-object-copy,
.architect-data-migration-object-copy strong,
.architect-data-migration-object-copy small {
  display: block;
}

.architect-data-migration-object-copy {
  min-width: 0;
}

.architect-data-migration-object-copy strong {
  font-size: 13px;
}

.architect-data-migration-object-copy small,
.architect-data-migration-object-message {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
}

.architect-data-migration-references {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 7px;
}

.architect-data-migration-references b,
.architect-data-migration-references em {
  border-radius: 999px;
  padding: 2px 6px;
  font-size: 9px;
  font-style: normal;
  line-height: 1.35;
}

.architect-data-migration-references b {
  background: #cffafe;
  color: #155e75;
}

.architect-data-migration-references em {
  background: #e2e8f0;
  color: #475569;
}

.architect-data-migration-auto-selected {
  color: #0369a1 !important;
  font-weight: 750;
}

.architect-data-migration-object-status {
  border-radius: 999px;
  background: #e2e8f0;
  color: #475569;
  padding: 3px 7px;
  font-size: 9px;
  font-weight: 800;
  white-space: nowrap;
}

.architect-data-migration-object.is-migrating .architect-data-migration-object-status {
  background: #dbeafe;
  color: #1d4ed8;
}

.architect-data-migration-object.is-referencing .architect-data-migration-object-status {
  background: #fef3c7;
  color: #92400e;
}

.architect-data-migration-object.is-completed .architect-data-migration-object-status {
  background: #dcfce7;
  color: #166534;
}

.architect-data-migration-object.is-error .architect-data-migration-object-status {
  background: #fee2e2;
  color: #b91c1c;
}

.architect-data-migration-object-progress {
  display: block;
  height: 5px;
  margin-top: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: #cbd5e1;
}

.architect-data-migration-object-progress i,
.architect-data-migration-overall-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0891b2, #2563eb);
  transition: width 200ms ease;
}

.architect-data-migration-object-message {
  grid-column: 2 / 4;
}

.architect-data-migration-overall {
  display: grid;
  gap: 7px;
  margin-top: 14px;
  border: 1px solid #bfdbfe;
  border-radius: 10px;
  background: #eff6ff;
  padding: 11px 12px;
}

.architect-data-migration-overall > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #1e3a8a;
  font-size: 11px;
}

.architect-data-migration-overall-bar {
  display: block;
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: #bfdbfe;
}

.architect-data-migration-overall > small {
  color: #475569;
  font-size: 10px;
}

.architect-data-migration-body > .error,
.architect-data-migration-summary {
  margin-top: 14px;
}

.architect-data-migration-summary {
  border: 1px solid #86efac;
  border-radius: 9px;
  background: #f0fdf4;
  color: #166534;
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 750;
}

.architect-data-migration-actions {
  display: flex;
  justify-content: flex-end;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, .96);
  padding: 12px 16px;
}

@media (max-width: 720px) {
  .architect-architecture-panel-backdrop,
  .architect-feature-migration-backdrop,
  .architect-data-migration-backdrop {
    padding: 0;
  }

  .architect-architecture-panel,
  .architect-feature-migration-panel,
  .architect-data-migration-panel {
    width: 100%;
    border: 0;
    border-radius: 0;
  }

  .architect-architecture-panel-body {
    padding: 6px;
  }

  .architect-feature-migration-features > div {
    grid-template-columns: 1fr;
  }

  .architect-feature-migration-tenant-grid {
    grid-template-columns: 1fr;
  }

  .architect-data-migration-tenants,
  .architect-data-migration-objects > div {
    grid-template-columns: 1fr;
  }
}

@keyframes architect-assistant-speed-dial-in {
  from { opacity: 0; transform: translateY(-7px) scale(.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.advisor-bot {
  --advisor-pet-width: 112px;
  --advisor-pet-height: 168px;
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 150;
  display: block;
  pointer-events: none;
}

.advisor-bot.size-small {
  --advisor-pet-width: 72px;
  --advisor-pet-height: 108px;
}

.advisor-bot.size-mini {
  --advisor-pet-width: 48px;
  --advisor-pet-height: 72px;
}

.advisor-bot.is-open {
  z-index: 152;
}

.advisor-bot-panel,
.advisor-bot-trigger {
  pointer-events: auto;
}

.advisor-bot-trigger {
  position: relative;
  display: grid;
  justify-items: center;
  border: 0;
  background: transparent;
  color: var(--text);
  padding: 0 6px;
  cursor: pointer;
  touch-action: none;
  transition: transform 180ms ease;
}

.advisor-bot-trigger .notification-count-badge {
  position: absolute;
  top: 4px;
  right: 0;
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border: 2px solid #ffffff;
  border-radius: 999px;
  background: #dc2626;
  box-shadow: 0 4px 10px rgb(127 29 29 / 24%);
  color: #ffffff;
  padding: 0;
  font-size: 9px;
  font-weight: 950;
  line-height: 1;
}

.advisor-bot-notification-callout {
  position: absolute;
  top: -8px;
  z-index: 2;
  width: max-content;
  max-width: min(180px, calc(100vw - 24px));
  transform: translateY(-100%);
  border: 2px solid #60a5fa;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgb(30 64 175 / 18%);
  color: #1e3a8a;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 950;
  line-height: 1.25;
  white-space: nowrap;
  pointer-events: none;
  animation: advisor-notification-callout-in 240ms ease-out;
}

.advisor-bot-notification-callout.align-end {
  right: 0;
}

.advisor-bot-notification-callout.align-start {
  left: 0;
}

.advisor-bot-notification-callout::before,
.advisor-bot-notification-callout::after {
  position: absolute;
  top: 100%;
  width: 0;
  height: 0;
  border-style: solid;
  content: "";
}

.advisor-bot-notification-callout.align-end::before {
  right: 20px;
  border-width: 9px 7px 0;
  border-color: #60a5fa transparent transparent;
}

.advisor-bot-notification-callout.align-end::after {
  right: 22px;
  border-width: 6px 5px 0;
  border-color: #ffffff transparent transparent;
}

.advisor-bot-notification-callout.align-start::before {
  left: 20px;
  border-width: 9px 7px 0;
  border-color: #60a5fa transparent transparent;
}

.advisor-bot-notification-callout.align-start::after {
  left: 22px;
  border-width: 6px 5px 0;
  border-color: #ffffff transparent transparent;
}

@keyframes advisor-notification-callout-in {
  from { opacity: 0; transform: translateY(calc(-100% + 6px)) scale(.96); }
  to { opacity: 1; transform: translateY(-100%) scale(1); }
}

.advisor-bot.is-dragging,
.advisor-bot.is-dragging .advisor-bot-trigger,
.advisor-bot.is-dragging .advisor-bot-header {
  cursor: grabbing;
  user-select: none;
}

.advisor-bot-trigger:hover,
.advisor-bot-trigger:focus-visible,
.advisor-bot.is-open .advisor-bot-trigger {
  outline: none;
  transform: translateY(-3px);
}

.advisor-pet-character {
  position: relative;
  display: block;
}

.advisor-pet-pose {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.advisor-pet-pose-idle {
  opacity: 1;
}

.advisor-pet-pose-wave,
.advisor-pet-pose-wink {
  opacity: 0;
}

.advisor-bot-trigger-character {
  width: var(--advisor-pet-width);
  height: var(--advisor-pet-height);
  filter: drop-shadow(0 10px 10px rgba(31, 45, 68, 0.2));
  transform-origin: 50% 100%;
  animation: advisor-pet-breathe 3.8s ease-in-out infinite;
}

.advisor-pet-character.is-animated .advisor-pet-pose-idle {
  animation: advisor-pet-idle-pose 18s steps(1, end) infinite;
}

.advisor-pet-character.is-animated .advisor-pet-pose-wave {
  animation: advisor-pet-wave-pose 18s steps(1, end) infinite;
}

.advisor-pet-character.is-animated .advisor-pet-pose-wink {
  animation: advisor-pet-wink-pose 18s steps(1, end) infinite;
}

@keyframes advisor-pet-breathe {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-3px) rotate(-0.6deg); }
}

@keyframes advisor-pet-idle-pose {
  0%, 36% { opacity: 1; }
  37%, 49% { opacity: 0; }
  50%, 73% { opacity: 1; }
  74%, 76% { opacity: 0; }
  77%, 78% { opacity: 1; }
  79%, 82% { opacity: 0; }
  83%, 100% { opacity: 1; }
}

@keyframes advisor-pet-wave-pose {
  0%, 36% { opacity: 0; }
  37%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

@keyframes advisor-pet-wink-pose {
  0%, 73% { opacity: 0; }
  74%, 76% { opacity: 1; }
  77%, 78% { opacity: 0; }
  79%, 82% { opacity: 1; }
  83%, 100% { opacity: 0; }
}

.advisor-bot-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 10px);
  display: grid;
  width: min(360px, calc(100vw - 24px));
  overflow: hidden;
  border: 1px solid rgba(191, 219, 254, 0.96);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.24), 0 8px 20px rgba(37, 99, 235, 0.1);
  backdrop-filter: blur(18px);
  animation: advisor-bot-enter 180ms ease-out;
}

.advisor-bot.panel-below .advisor-bot-panel {
  top: calc(100% + 10px);
  bottom: auto;
}

.advisor-bot.panel-align-start .advisor-bot-panel {
  right: auto;
  left: 0;
}

@keyframes advisor-bot-enter {
  from { opacity: 0; transform: translateY(8px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.advisor-bot-header {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  border-bottom: 1px solid #dbeafe;
  background: linear-gradient(135deg, #eff6ff, #f8fbff);
  padding: 10px 11px;
  cursor: grab;
  touch-action: none;
}

.advisor-bot-avatar {
  width: 42px;
  height: 54px;
}

.advisor-bot-header > span:nth-child(2),
.advisor-bot-header strong {
  display: block;
  min-width: 0;
}

.advisor-bot-header strong {
  color: #1e3a8a;
  font-size: 13px;
  font-weight: 950;
}

.advisor-bot-header-actions {
  display: flex;
  align-items: center;
  gap: 2px;
}

.advisor-bot-header button {
  display: grid;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #64748b;
  padding: 0;
  place-items: center;
  font-size: 19px;
  cursor: pointer;
}

.advisor-bot-header .advisor-bot-size-toggle {
  display: grid;
  justify-items: start;
  gap: 2px;
}

.advisor-bot-header .advisor-bot-size-toggle button {
  width: 28px;
  height: 24px;
  border: 0;
  border-right: 1px solid #dbe3ed;
  border-radius: 0;
  font-size: 10px;
  font-weight: 900;
}

.advisor-bot-header .advisor-bot-size-toggle button:last-child {
  border-right: 0;
}

.advisor-bot-header button:hover,
.advisor-bot-header button:focus-visible {
  background: #dbeafe;
  color: #1d4ed8;
  outline: none;
}

.advisor-bot-body {
  display: grid;
  gap: 10px;
  padding: 12px;
}

.advisor-bot-message {
  display: grid;
  gap: 3px;
  margin: 0;
  border-radius: 8px;
  background: #f8fafc;
  color: #475569;
  padding: 10px 11px;
  font-size: 12px;
  line-height: 1.55;
}

.advisor-bot-message strong {
  color: var(--text);
  font-weight: 900;
}

.advisor-bot-insights {
  display: grid;
  gap: 7px;
}

.advisor-bot-insight,
.advisor-bot-page-tip {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 8px 10px;
}

.advisor-bot-insight > b,
.advisor-bot-page-tip > .menu-svg-icon {
  display: grid;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #eff6ff;
  color: #2563eb;
  place-items: center;
  font-size: 14px;
  font-weight: 950;
}

.advisor-bot-insight.warning > b {
  background: #fff7ed;
  color: #c2410c;
}

.advisor-bot-insight.danger > b {
  background: #fef2f2;
  color: #dc2626;
}

.advisor-bot-insight.success > b {
  background: #ecfdf5;
  color: #047857;
}

.advisor-bot-insight.neutral > b {
  background: #f1f5f9;
  color: #475569;
}

.advisor-bot-insight > span,
.advisor-bot-insight strong,
.advisor-bot-insight small,
.advisor-bot-page-tip > span,
.advisor-bot-page-tip strong,
.advisor-bot-page-tip small {
  display: block;
  min-width: 0;
}

.advisor-bot-insight strong,
.advisor-bot-page-tip strong {
  color: var(--text);
  font-size: 12px;
  font-weight: 900;
}

.advisor-bot-insight small,
.advisor-bot-page-tip small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.45;
}

.advisor-bot-page-tip {
  align-items: start;
}

.advisor-bot-page-tip > .menu-svg-icon {
  padding: 8px;
}

.advisor-bot-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  border-top: 1px solid var(--line);
  background: #fbfdff;
  padding: 8px 10px;
}

.advisor-bot-actions button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: #334155;
  padding: 7px 9px;
  font-size: 11px;
  font-weight: 850;
  cursor: pointer;
}

.advisor-bot-actions button:hover,
.advisor-bot-actions button:focus-visible {
  border-color: #93c5fd;
  background: #eff6ff;
  color: #1d4ed8;
  outline: none;
}

.advisor-bot-actions .menu-svg-icon {
  width: 14px;
  height: 14px;
}

.advisor-bot-actions .advisor-bot-notifications {
  border-color: #86efac;
  background: #f0fdf4;
  color: #15803d;
}

.advisor-bot-actions .advisor-bot-notifications:hover,
.advisor-bot-actions .advisor-bot-notifications:focus-visible {
  border-color: #4ade80;
  background: #dcfce7;
  color: #166534;
}

.advisor-bot-actions .advisor-bot-feedback,
.advisor-bot-actions .advisor-bot-search {
  border-color: #bfdbfe;
  background: #eff6ff;
  color: #1d4ed8;
}

.advisor-bot-actions .advisor-bot-feedback:hover,
.advisor-bot-actions .advisor-bot-feedback:focus-visible,
.advisor-bot-actions .advisor-bot-search:hover,
.advisor-bot-actions .advisor-bot-search:focus-visible {
  border-color: #60a5fa;
  background: #dbeafe;
  color: #1e40af;
}

.advisor-bot-action-count {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 999px;
  background: #dc2626;
  color: #ffffff;
  padding: 0;
  font-size: 9px;
  line-height: 1;
}

.advisor-bot-actions .advisor-bot-disable {
  margin-left: auto;
  border-color: transparent;
  background: transparent;
  color: #64748b;
  padding-inline: 5px;
}

.advisor-bot-actions .advisor-bot-reset-position {
  border-color: transparent;
  background: transparent;
  color: #64748b;
  padding-inline: 5px;
}

@media (max-width: 760px) {
  .architect-assistant {
    --architect-assistant-size: 92px;
    top: calc(68px + env(safe-area-inset-top));
    right: 12px;
  }

  .architect-assistant.size-mini {
    --architect-assistant-size: 44px;
  }

  .advisor-bot {
    --advisor-pet-width: 92px;
    --advisor-pet-height: 138px;
    right: 12px;
    bottom: calc(84px + env(safe-area-inset-bottom));
  }

  .advisor-bot.size-small {
    --advisor-pet-width: 60px;
    --advisor-pet-height: 90px;
  }

  .advisor-bot.size-mini {
    --advisor-pet-width: 44px;
    --advisor-pet-height: 66px;
  }

  .advisor-bot-actions {
    flex-wrap: wrap;
  }
}

@media (max-width: 540px) {
  .profile-advisor-setting {
    align-items: start;
    gap: 10px;
    flex-direction: column;
  }

  .profile-advisor-controls {
    width: 100%;
    justify-items: start;
  }

  .profile-advisor-size {
    width: 100%;
    justify-content: space-between;
  }
}

@media (prefers-reduced-motion: reduce) {
  .architect-assistant,
  .architect-assistant-trigger,
  .architect-assistant-speed-dial,
  .architect-assistant-action-copy,
  .architect-assistant-action-icon,
  .advisor-bot-panel,
  .advisor-bot-trigger-character,
  .advisor-bot-notification-callout,
  .advisor-pet-character.is-animated .advisor-pet-pose {
    animation: none;
  }

  .advisor-pet-character.is-animated .advisor-pet-pose-idle,
  .architect-assistant-image-static {
    opacity: 1;
  }

  .advisor-pet-character.is-animated .advisor-pet-pose-wave,
  .advisor-pet-character.is-animated .advisor-pet-pose-wink,
  .architect-assistant-image-animated {
    opacity: 0;
  }
}

.profile-dialog-actions .profile-account-switch-button {
  margin-right: 0;
}

@media (max-width: 540px) {
  .account-switcher-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .account-switcher-item {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .account-switcher-item > b {
    grid-column: 2;
    justify-self: start;
  }

  .profile-dialog-actions .profile-account-switch-button {
    width: 100%;
    margin-right: 0;
  }
}

.profile-icon-editor {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fbff;
  padding: 12px;
}

.profile-icon-selector {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.profile-icon-selector .application-icon-select-button {
  width: 100%;
}

.user-profile-dialog.is-viewing .profile-editable-field input {
  border-color: var(--line);
  background: #f8fafc;
  color: #334155;
  cursor: default;
}

.user-profile-dialog.is-viewing .profile-editable-field input:focus {
  border-color: var(--line);
  box-shadow: none;
}

.profile-security-section {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdff;
  padding: 14px;
}

.profile-security-section > header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.profile-security-section > header > div {
  display: grid;
  gap: 3px;
}

.profile-security-section > header span,
.profile-session-list small,
.profile-session-empty {
  color: var(--muted);
  font-size: 11px;
}

.profile-security-section > header span,
.profile-session-empty {
  font-weight: 750;
}

.profile-password-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.profile-password-help {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
}

.profile-password-input-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #ffffff;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.profile-password-input-shell:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-soft);
}

.user-profile-dialog .profile-password-input-shell input,
.user-profile-dialog .profile-password-input-shell input:focus {
  min-height: 42px;
  border: 0;
  border-radius: 7px 0 0 7px;
  background: transparent;
  padding: 10px 8px 10px 12px;
  box-shadow: none;
  outline: none;
}

.profile-password-toggle {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  margin-right: 4px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
}

.profile-password-toggle:hover,
.profile-password-toggle:focus-visible {
  background: var(--blue-soft);
  color: var(--blue);
}

.profile-password-toggle .menu-svg-icon {
  width: 16px;
  height: 16px;
}

.profile-session-list {
  display: grid;
  gap: 7px;
}

.profile-session-list > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 9px;
}

.profile-session-list > div > span {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.profile-session-list > div > span strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-session-list button {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  padding: 7px 10px;
  color: var(--text);
  font-size: 11px;
}

@media (max-width: 700px) {
  .profile-security-section > header { align-items: stretch; flex-direction: column; }
  .profile-microsoft-mail > header { grid-template-columns: auto minmax(0, 1fr); }
  .profile-microsoft-mail > header b { grid-column: 2; justify-self: start; }
  .profile-microsoft-mail-account { grid-template-columns: 1fr; }
  .profile-mail-actions { flex-direction: column; }
  .profile-microsoft-mail-account > small { text-align: left; }
  .profile-microsoft-mail-connect { align-items: stretch; flex-direction: column; }
}

.drawer-nav a.active .menu-icon-box {
  background: #ffffff;
  color: var(--menu-icon-color, var(--blue));
}

.menu-svg-icon {
  display: block;
  width: 20px;
  height: 20px;
  fill: currentColor;
  overflow: visible;
}

.custom-menu-icon {
  display: block;
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.drawer-nav a.active::before {
  content: none;
}

.mobile-tabbar,
.mobile-more-layer {
  display: none;
}

@media (max-width: 880px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .app-shell.drawer-mode-icons {
    grid-template-columns: 1fr;
  }

  .workspace-header-root,
  .workspace,
  .impersonation-banner {
    grid-column: 1;
  }

  .workspace-header-root,
  .impersonation-banner {
    width: auto;
    max-width: none;
    margin: 8px 8px 0;
  }

  .impersonation-banner {
    align-items: center;
    gap: 8px;
    padding-inline: 10px;
  }

  .workspace {
    padding: 8px 8px calc(84px + env(safe-area-inset-bottom));
  }

  .car-search-frame,
  .car-parking-license-frame {
    height: calc(100vh - 100px - env(safe-area-inset-bottom));
  }

  .workspace-header-root:not(:empty) + .workspace {
    padding-top: 8px;
  }

  .workspace-header-root:not(:empty) + .workspace > .task-panel,
  .workspace-header-root:not(:empty) + .workspace > .analysis-panel {
    min-height: 0;
  }

  .app-drawer {
    display: none;
  }

  .mobile-tabbar {
    position: fixed;
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom));
    left: 10px;
    z-index: 120;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    align-items: center;
    min-height: 62px;
    border: 1px solid rgba(205, 215, 229, 0.95);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.18);
    padding: 6px;
    backdrop-filter: blur(18px);
  }

  .mobile-tabbar a,
  .mobile-tabbar button {
    display: grid;
    grid-template-rows: 28px 16px;
    justify-items: center;
    align-items: center;
    gap: 2px;
    min-width: 0;
    min-height: 48px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: transparent;
    color: var(--muted);
    padding: 3px 4px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
  }

  .mobile-tabbar a.active,
  .mobile-tabbar button.active {
    border-color: #bfdbfe;
    background: #eef4ff;
    color: var(--blue);
  }

  .mobile-tabbar .menu-icon-box,
  .mobile-tabbar .menu-svg-icon {
    width: 24px;
    height: 24px;
  }

  .mobile-tabbar .custom-menu-icon {
    width: 23px;
    height: 23px;
  }

  .mobile-tabbar span {
    display: block;
    width: 100%;
    min-width: 0;
    overflow: hidden;
    font-size: 10px;
    font-weight: 850;
    line-height: 1.15;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-more-layer {
    position: fixed;
    inset: 0;
    z-index: 130;
    display: grid;
    pointer-events: none;
    visibility: hidden;
  }

  .mobile-more-layer.is-open {
    pointer-events: auto;
    visibility: visible;
  }

  .mobile-more-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(15, 23, 42, 0);
    cursor: default;
    transition: background 180ms ease;
  }

  .mobile-more-layer.is-open .mobile-more-backdrop {
    background: rgba(15, 23, 42, 0.34);
  }

  .mobile-more-drawer {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    min-height: min(92vh, 760px);
    max-height: calc(100vh - 14px);
    border: 1px solid rgba(205, 215, 229, 0.95);
    border-radius: 8px 8px 0 0;
    background: #ffffff;
    box-shadow: 0 -24px 60px rgba(15, 23, 42, 0.2);
    padding: 10px 12px calc(12px + env(safe-area-inset-bottom));
    transform: translateY(102%);
    transition: transform 200ms ease;
  }

  .mobile-more-layer.is-open .mobile-more-drawer {
    transform: translateY(0);
  }

  .mobile-more-header {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 34px;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 10px;
  }

  .mobile-logo-app-menu {
    top: calc(100% - 2px);
    left: 0;
    width: min(280px, calc(100vw - 24px));
  }

  .mobile-more-brand {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    min-width: 0;
  }

  .mobile-more-brand strong {
    display: block;
    overflow: hidden;
    color: var(--text);
    font-size: 14px;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-more-nav {
    display: grid;
    align-content: start;
    gap: 5px;
    min-height: 0;
    overflow-y: auto;
    padding: 10px 2px 10px 0;
  }

  .mobile-more-section,
  .mobile-more-items {
    display: grid;
    gap: 5px;
    min-width: 0;
  }

  .mobile-more-section.has-group {
    gap: 2px;
    margin: 4px 0 7px;
    border-radius: 8px;
    background: rgba(239, 246, 255, 0.68);
    padding: 2px 0 4px;
  }

  .mobile-more-section.has-group .mobile-more-items {
    margin: 0;
    border: 0;
    background: transparent;
    padding: 0;
  }

  .mobile-more-nav a {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    min-height: 44px;
    border: 1px solid transparent;
    border-radius: 8px;
    color: #334155;
    padding: 4px 8px 4px 4px;
    text-decoration: none;
  }

  .mobile-more-nav a.active {
    border-color: #bfdbfe;
    background: #eef4ff;
    color: var(--blue);
  }

  .mobile-more-nav a .menu-icon-box {
    width: 36px;
    height: 36px;
    border-radius: 8px;
  }

  .mobile-more-nav a span {
    overflow: hidden;
    font-size: 13px;
    font-weight: 850;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-more-group {
    display: block;
    margin: 0;
    border-radius: 6px;
    background: transparent;
    color: #657184;
    padding: 4px 8px;
    font-size: 11px;
    font-weight: 850;
  }

  .mobile-more-user {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    border-top: 1px solid var(--line);
    padding-top: 10px;
  }

}

.task-dialog.architect-user-deletion-dialog {
  grid-template-rows: auto auto minmax(0, 1fr) auto;
}

.architect-user-deletion-body {
  scrollbar-gutter: stable;
}

.architect-user-deletion-toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.architect-user-deletion-toolbar > strong {
  margin-right: auto;
}

.architect-user-deletion-select-all {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.architect-user-deletion-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}

.architect-user-deletion-row > span:first-of-type {
  display: grid;
  gap: 4px;
  overflow-wrap: anywhere;
}

.architect-user-deletion-row small {
  color: var(--muted);
}

.profile-mail-thread-setting,
.profile-mail-thread-label {
  display: flex;
  align-items: center;
  gap: 8px;
}

.profile-mail-thread-setting {
  justify-content: space-between;
  gap: 16px;
}

.profile-mail-thread-switch {
  border: 0;
  padding: 0;
  background: transparent;
}

.profile-mail-thread-switch:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.profile-mail-thread-help {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  padding: 0;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  cursor: help;
}

.architect-menu-panel {
  width: min(208px, 100%);
  padding: 6px;
  border: 1px solid rgb(125 211 252 / 68%);
  border-radius: 9px;
  background: linear-gradient(145deg, rgb(21 39 65 / 92%), rgb(7 19 40 / 96%) 72%);
  color: #f8fafc;
  box-shadow: 0 5px 12px rgb(15 23 42 / 15%), inset 0 0 0 1px rgb(255 255 255 / 9%);
  backdrop-filter: blur(18px) saturate(135%);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
}

.architect-menu-panel > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 0 3px 4px 5px;
  border-bottom: 1px solid rgb(125 211 252 / 18%);
  font-size: 11px;
  line-height: 1.4;
  color: #bae6fd;
}

.architect-menu-panel > header .icon-button {
  display: grid;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #bae6fd;
  place-items: center;
  font-size: 16px;
}

.architect-menu-panel-items {
  max-height: min(320px, 40vh);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgb(125 211 252 / 35%) transparent;
  padding-top: 3px;
}


.architect-menu-panel-items p {
  margin: 6px;
  font-size: 11px;
  color: #cbd5e1;
}

.architect-menu-panel-items button {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  padding: 5px 6px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #f8fafc;
  font-size: 12px;
  line-height: 1.4;
  text-align: left;
  cursor: pointer;
}

.architect-menu-panel-items .menu-icon-box {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}

.architect-menu-panel-items .menu-svg-icon,
.architect-menu-panel-items .custom-menu-icon {
  width: 16px;
  height: 16px;
}

.architect-menu-panel-items button > span:last-child {
  min-width: 0;
  overflow-wrap: anywhere;
}

.architect-menu-panel-items button:hover,
.architect-menu-panel > header .icon-button:hover {
  background: rgb(56 189 248 / 14%);
}

.architect-menu-panel-items button:focus-visible,
.architect-menu-panel > header .icon-button:focus-visible {
  outline: 1px solid #67e8f9;
  outline-offset: -1px;
  background: rgb(56 189 248 / 14%);
}

.architect-menu-panel-heading {
  display: flex;
  align-items: center;
  gap: 5px;
  flex: 1;
  padding: 4px 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.architect-menu-panel-items .architect-menu-group-heading {
  color: #bae6fd;
  font-size: 11px;
  font-weight: 600;
}

.architect-menu-panel-heading:focus-visible {
  outline: 1px solid #67e8f9;
  outline-offset: 1px;
}

.architect-menu-panel-heading:hover {
  background: rgb(56 189 248 / 14%);
}
