/* Web browser density lock: make Chrome 100% look like the approved manual zoom. */
html:not(.electron-client):not(.exeify-client) body {
  overflow-x: hidden !important;
}

html:not(.electron-client):not(.exeify-client) body:has(#authView:not(.hidden)) #authView#authView#authView {
  width: calc(100vw / 0.9) !important;
  min-width: calc(100vw / 0.9) !important;
  min-height: calc(100vh / 0.9) !important;
  transform: scale(0.9) !important;
  transform-origin: left top !important;
}

html:not(.electron-client):not(.exeify-client) body.auth-drawer-open:has(#authView:not(.hidden)) #authView#authView#authView #authDrawer.auth-drawer {
  height: calc(100vh / 0.9) !important;
  max-height: calc(100vh / 0.9) !important;
  min-height: calc(100vh / 0.9) !important;
}

html:not(.electron-client):not(.exeify-client) body.auth-drawer-open:has(#authView:not(.hidden)) #authView#authView#authView #authDrawer.auth-drawer .auth-drawer-scroll {
  height: calc((100vh / 0.9) - 73px) !important;
  max-height: calc((100vh / 0.9) - 73px) !important;
  min-height: 0 !important;
}

html:not(.electron-client):not(.exeify-client) body:has(#appView.workspace-shell:not(.hidden)) {
  overflow: hidden !important;
}

html:not(.electron-client):not(.exeify-client) body:has(#appView.workspace-shell:not(.hidden)) #appView#appView.workspace-shell:not(.hidden) {
  width: 100vw !important;
  height: 100vh !important;
  min-width: 0 !important;
  min-height: 100vh !important;
  overflow: hidden !important;
}

html:not(.electron-client):not(.exeify-client) body:has(#authView.home-shell:not(.hidden)):not(.auth-drawer-open) {
  height: auto !important;
  max-height: none !important;
  overflow-y: auto !important;
}

html:not(.electron-client):not(.exeify-client) body:has(#authView.home-shell:not(.hidden)):not(.auth-drawer-open) #authView.home-shell:not(.client-login-mode) {
  height: auto !important;
  max-height: none !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
}

@media (min-width: 761px) {
  html:not(.electron-client):not(.exeify-client) body:has(#authView.home-shell:not(.hidden)):not(.auth-drawer-open) #authView#authView#authView.home-shell:not(.client-login-mode) {
    display: flex !important;
    flex-direction: column !important;
    transform: none !important;
    zoom: var(--web-home-scale, .9);
    min-height: calc(100vh / var(--web-home-scale, .9)) !important;
  }

  html:not(.electron-client):not(.exeify-client) body:has(#authView.home-shell:not(.hidden)):not(.auth-drawer-open) #authView#authView#authView.home-shell:not(.client-login-mode) .public-page:not(.hidden) {
    flex: 0 0 auto !important;
  }

  html:not(.electron-client):not(.exeify-client) body:has(#authView.home-shell:not(.hidden)):not(.auth-drawer-open) #authView#authView#authView.home-shell:not(.client-login-mode) .public-footer {
    flex: 0 0 auto !important;
    width: calc(100vw / var(--web-home-scale, .9)) !important;
    max-width: none !important;
    margin-top: auto !important;
    box-sizing: border-box !important;
  }
}

html:not(.electron-client):not(.exeify-client) body:has(#appView.workspace-shell:not(.hidden)) #appView#appView.workspace-shell:not(.hidden) > .workspace-frame {
  width: calc(100vw / 0.8) !important;
  height: calc(100vh / 0.8) !important;
  min-width: calc(100vw / 0.8) !important;
  min-height: calc(100vh / 0.8) !important;
  max-width: none !important;
  max-height: none !important;
  transform: scale(0.8) !important;
  transform-origin: left top !important;
}

html:not(.electron-client):not(.exeify-client) body:has(#appView.workspace-shell:not(.hidden)) #appView#appView.workspace-shell:not(.hidden) #overviewPanel .license-current p,
html:not(.electron-client):not(.exeify-client) body:has(#appView.workspace-shell:not(.hidden)) #appView#appView.workspace-shell:not(.hidden) #overviewPanel .license-current b,
html:not(.electron-client):not(.exeify-client) body:has(#appView.workspace-shell:not(.hidden)) #appView#appView.workspace-shell:not(.hidden) #overviewPanel .activation-panel input,
html:not(.electron-client):not(.exeify-client) body:has(#appView.workspace-shell:not(.hidden)) #appView#appView.workspace-shell:not(.hidden) #overviewPanel .activation-panel input::placeholder,
html:not(.electron-client):not(.exeify-client) body:has(#appView.workspace-shell:not(.hidden)) #appView#appView.workspace-shell:not(.hidden) #overviewPanel .activation-panel button,
html:not(.electron-client):not(.exeify-client) body:has(#appView.workspace-shell:not(.hidden)) #appView#appView.workspace-shell:not(.hidden) #overviewPanel #referralResetBtn b,
html:not(.electron-client):not(.exeify-client) body:has(#appView.workspace-shell:not(.hidden)) #appView#appView.workspace-shell:not(.hidden) #overviewPanel .client-order-table span,
html:not(.electron-client):not(.exeify-client) body:has(#appView.workspace-shell:not(.hidden)) #appView#appView.workspace-shell:not(.hidden) #overviewPanel .client-order-table b,
html:not(.electron-client):not(.exeify-client) body:has(#appView.workspace-shell:not(.hidden)) #appView#appView.workspace-shell:not(.hidden) #overviewPanel .client-order-table button {
  font-size: .9rem !important;
}

html:not(.electron-client):not(.exeify-client) body:has(#appView.workspace-shell:not(.hidden)) #appView#appView.workspace-shell:not(.hidden) #resumeDock .resume-source-card > p:not(.eyebrow) {
  font-size: .9rem !important;
  line-height: 1.55 !important;
}

html:not(.electron-client):not(.exeify-client) body:has(#appView.workspace-shell:not(.hidden)) #appView#appView.workspace-shell:not(.hidden) #resumeDock#resumeDock:not(.workspace-panel-hidden) {
  grid-template-columns: minmax(420px, .68fr) minmax(0, 1.32fr) !important;
  gap: 14px !important;
  column-gap: 14px !important;
  justify-content: stretch !important;
}

html:not(.electron-client):not(.exeify-client) body:has(#appView.workspace-shell:not(.hidden)) #appView#appView.workspace-shell:not(.hidden) #resumeDock#resumeDock:not(.workspace-panel-hidden) > .resume-source-card,
html:not(.electron-client):not(.exeify-client) body:has(#appView.workspace-shell:not(.hidden)) #appView#appView.workspace-shell:not(.hidden) #resumeDock#resumeDock:not(.workspace-panel-hidden) .resume-advantages-card {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
}

html:not(.electron-client):not(.exeify-client) body:has(#appView.workspace-shell:not(.hidden)) #appView#appView.workspace-shell:not(.hidden) #recordHistoryPanel .record-summary-card b,
html:not(.electron-client):not(.exeify-client) body:has(#appView.workspace-shell:not(.hidden)) #appView#appView.workspace-shell:not(.hidden) #recordHistoryPanel .record-qa b {
  font-size: .88rem !important;
}

html:not(.electron-client):not(.exeify-client) body:has(#appView.workspace-shell:not(.hidden)) #appView#appView.workspace-shell:not(.hidden) #recordHistoryPanel .record-summary-card p,
html:not(.electron-client):not(.exeify-client) body:has(#appView.workspace-shell:not(.hidden)) #appView#appView.workspace-shell:not(.hidden) #recordHistoryPanel .record-qa pre {
  font-size: .9rem !important;
  line-height: 1.65 !important;
}

/* High-specificity overrides for old repeated-ID workbench rules. */
html:not(.electron-client):not(.exeify-client) body:has(#appView.workspace-shell:not(.hidden)) #appView#appView#appView#appView#appView#appView#appView#appView#appView.workspace-shell:not(.hidden) #resumeDock#resumeDock#resumeDock#resumeDock#resumeDock#resumeDock#resumeDock#resumeDock#resumeDock#resumeDock:not(.workspace-panel-hidden) {
  grid-template-columns: minmax(420px, .68fr) minmax(0, 1.32fr) !important;
  gap: 14px !important;
  column-gap: 14px !important;
  justify-content: stretch !important;
}

html:not(.electron-client):not(.exeify-client) body:has(#appView.workspace-shell:not(.hidden)) #appView#appView#appView#appView#appView#appView#appView#appView#appView.workspace-shell:not(.hidden) #resumeDock#resumeDock#resumeDock#resumeDock#resumeDock#resumeDock#resumeDock#resumeDock#resumeDock#resumeDock:not(.workspace-panel-hidden) > .resume-source-card,
html:not(.electron-client):not(.exeify-client) body:has(#appView.workspace-shell:not(.hidden)) #appView#appView#appView#appView#appView#appView#appView#appView#appView.workspace-shell:not(.hidden) #resumeDock#resumeDock#resumeDock#resumeDock#resumeDock#resumeDock#resumeDock#resumeDock#resumeDock#resumeDock:not(.workspace-panel-hidden) .resume-advantages-card {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
}

html:not(.electron-client):not(.exeify-client) body:has(#appView.workspace-shell:not(.hidden)) #appView#appView#appView#appView#appView#appView#appView#appView#appView.workspace-shell:not(.hidden) #resumeDock#resumeDock#resumeDock#resumeDock#resumeDock#resumeDock#resumeDock#resumeDock#resumeDock#resumeDock:not(.workspace-panel-hidden) .resume-advantages-card {
  margin-left: 0 !important;
  width: 100% !important;
}

html:not(.electron-client):not(.exeify-client) body:has(#appView.workspace-shell:not(.hidden)) #appView#appView#appView#appView#appView#appView#appView#appView#appView#appView.workspace-shell:not(.hidden) #resumeDock#resumeDock#resumeDock#resumeDock#resumeDock#resumeDock#resumeDock#resumeDock#resumeDock#resumeDock#resumeDock:not(.workspace-panel-hidden) .resume-advantages-card.resume-advantages-card.workspace-card {
  position: static !important;
  z-index: auto !important;
  transform: none !important;
  grid-column: 1 !important;
  grid-row: 1 !important;
  width: 100% !important;
  max-width: none !important;
}

html:not(.electron-client):not(.exeify-client) body:has(#appView.workspace-shell:not(.hidden)) #appView#appView.workspace-shell:not(.hidden) #resumeDock#resumeDock:not(.workspace-panel-hidden) > .resume-result-stack,
html:not(.electron-client):not(.exeify-client) body:has(#appView.workspace-shell:not(.hidden)) #appView#appView#appView#appView#appView#appView#appView#appView#appView.workspace-shell:not(.hidden) #resumeDock#resumeDock#resumeDock#resumeDock#resumeDock#resumeDock#resumeDock#resumeDock#resumeDock#resumeDock:not(.workspace-panel-hidden) > .resume-result-stack {
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 0 !important;
  column-gap: 0 !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
}

html:not(.electron-client):not(.exeify-client) body:has(#appView.workspace-shell:not(.hidden)) #appView#appView.workspace-shell:not(.hidden) #resumeDock#resumeDock:not(.workspace-panel-hidden) .resume-progress-card,
html:not(.electron-client):not(.exeify-client) body:has(#appView.workspace-shell:not(.hidden)) #appView#appView#appView#appView#appView#appView#appView#appView#appView.workspace-shell:not(.hidden) #resumeDock#resumeDock#resumeDock#resumeDock#resumeDock#resumeDock#resumeDock#resumeDock#resumeDock#resumeDock:not(.workspace-panel-hidden) .resume-progress-card {
  display: none !important;
}

html:not(.electron-client):not(.exeify-client) body:has(#appView.workspace-shell:not(.hidden)) #appView#appView.workspace-shell:not(.hidden) #resumeDock#resumeDock:not(.workspace-panel-hidden) > .resume-result-stack > .resume-advantages-card,
html:not(.electron-client):not(.exeify-client) body:has(#appView.workspace-shell:not(.hidden)) #appView#appView#appView#appView#appView#appView#appView#appView#appView.workspace-shell:not(.hidden) #resumeDock#resumeDock#resumeDock#resumeDock#resumeDock#resumeDock#resumeDock#resumeDock#resumeDock#resumeDock:not(.workspace-panel-hidden) > .resume-result-stack > .resume-advantages-card,
html:not(.electron-client):not(.exeify-client) body:has(#appView.workspace-shell:not(.hidden)) #appView#appView#appView#appView#appView#appView#appView#appView#appView#appView#appView#appView#appView.workspace-shell:not(.hidden) #resumeDock#resumeDock#resumeDock#resumeDock#resumeDock#resumeDock#resumeDock#resumeDock#resumeDock#resumeDock#resumeDock#resumeDock:not(.workspace-panel-hidden) > .resume-result-stack > .resume-advantages-card.resume-advantages-card.workspace-card {
  grid-column: 1 !important;
  grid-row: 1 !important;
  justify-self: stretch !important;
  align-self: stretch !important;
}

html:not(.electron-client):not(.exeify-client) body:has(#appView.workspace-shell:not(.hidden)) #appView#appView#appView#appView#appView.workspace-shell:not(.hidden) #overviewPanel#overviewPanel#overviewPanel .license-current p,
html:not(.electron-client):not(.exeify-client) body:has(#appView.workspace-shell:not(.hidden)) #appView#appView#appView#appView#appView.workspace-shell:not(.hidden) #overviewPanel#overviewPanel#overviewPanel .license-current b,
html:not(.electron-client):not(.exeify-client) body:has(#appView.workspace-shell:not(.hidden)) #appView#appView#appView#appView#appView.workspace-shell:not(.hidden) #overviewPanel#overviewPanel#overviewPanel .activation-panel input,
html:not(.electron-client):not(.exeify-client) body:has(#appView.workspace-shell:not(.hidden)) #appView#appView#appView#appView#appView.workspace-shell:not(.hidden) #overviewPanel#overviewPanel#overviewPanel .activation-panel input::placeholder,
html:not(.electron-client):not(.exeify-client) body:has(#appView.workspace-shell:not(.hidden)) #appView#appView#appView#appView#appView.workspace-shell:not(.hidden) #overviewPanel#overviewPanel#overviewPanel .activation-panel button,
html:not(.electron-client):not(.exeify-client) body:has(#appView.workspace-shell:not(.hidden)) #appView#appView#appView#appView#appView.workspace-shell:not(.hidden) #overviewPanel#overviewPanel#overviewPanel #referralResetBtn b,
html:not(.electron-client):not(.exeify-client) body:has(#appView.workspace-shell:not(.hidden)) #appView#appView#appView#appView#appView.workspace-shell:not(.hidden) #overviewPanel#overviewPanel#overviewPanel .client-order-table span,
html:not(.electron-client):not(.exeify-client) body:has(#appView.workspace-shell:not(.hidden)) #appView#appView#appView#appView#appView.workspace-shell:not(.hidden) #overviewPanel#overviewPanel#overviewPanel .client-order-table b,
html:not(.electron-client):not(.exeify-client) body:has(#appView.workspace-shell:not(.hidden)) #appView#appView#appView#appView#appView.workspace-shell:not(.hidden) #overviewPanel#overviewPanel#overviewPanel .client-order-table button,
html:not(.electron-client):not(.exeify-client) body:has(#appView.workspace-shell:not(.hidden)) #appView#appView#appView#appView#appView.workspace-shell:not(.hidden) #resumeDock#resumeDock#resumeDock .resume-source-card > p:not(.eyebrow),
html:not(.electron-client):not(.exeify-client) body:has(#appView.workspace-shell:not(.hidden)) #appView#appView#appView#appView#appView.workspace-shell:not(.hidden) #recordHistoryPanel#recordHistoryPanel#recordHistoryPanel .record-summary-card p,
html:not(.electron-client):not(.exeify-client) body:has(#appView.workspace-shell:not(.hidden)) #appView#appView#appView#appView#appView.workspace-shell:not(.hidden) #recordHistoryPanel#recordHistoryPanel#recordHistoryPanel .record-qa pre {
  font-size: 1rem !important;
}

html:not(.electron-client):not(.exeify-client) body:has(#appView.workspace-shell:not(.hidden)) #appView#appView#appView#appView#appView.workspace-shell:not(.hidden) #recordHistoryPanel#recordHistoryPanel#recordHistoryPanel .record-summary-card b,
html:not(.electron-client):not(.exeify-client) body:has(#appView.workspace-shell:not(.hidden)) #appView#appView#appView#appView#appView.workspace-shell:not(.hidden) #recordHistoryPanel#recordHistoryPanel#recordHistoryPanel .record-qa b {
  font-size: .96rem !important;
}

html:not(.electron-client):not(.exeify-client) body:has(#appView.workspace-shell:not(.hidden)) #appView#appView#appView#appView#appView.workspace-shell:not(.hidden) #overviewPanel#overviewPanel#overviewPanel .license-current p,
html:not(.electron-client):not(.exeify-client) body:has(#appView.workspace-shell:not(.hidden)) #appView#appView#appView#appView#appView.workspace-shell:not(.hidden) #overviewPanel#overviewPanel#overviewPanel .license-current b,
html:not(.electron-client):not(.exeify-client) body:has(#appView.workspace-shell:not(.hidden)) #appView#appView#appView#appView#appView.workspace-shell:not(.hidden) #overviewPanel#overviewPanel#overviewPanel #referralResetBtn b {
  font-size: 1.08rem !important;
  line-height: 1.22 !important;
}

html:not(.electron-client):not(.exeify-client) body:has(#appView.workspace-shell:not(.hidden)) #appView#appView#appView#appView#appView.workspace-shell:not(.hidden) #overviewPanel#overviewPanel#overviewPanel #referralResetBtn {
  display: grid !important;
  align-content: center !important;
  align-items: center !important;
  justify-items: start !important;
}

/* Web overview rhythm chart: use the card space tightly and keep the line light. */
html:not(.electron-client):not(.exeify-client) body:has(#appView.workspace-shell:not(.hidden)) #appView#appView.workspace-shell:not(.hidden) #overviewPanel#overviewPanel .rhythm-card {
  display: grid !important;
  grid-template-rows: auto minmax(0, 1fr) !important;
  align-content: stretch !important;
}

html:not(.electron-client):not(.exeify-client) body:has(#appView.workspace-shell:not(.hidden)) #appView#appView.workspace-shell:not(.hidden) #overviewPanel#overviewPanel .client-line-chart {
  display: grid !important;
  grid-template-rows: minmax(0, 1fr) 24px !important;
  height: 100% !important;
  min-height: 0 !important;
  margin-top: 6px !important;
}

html:not(.electron-client):not(.exeify-client) body:has(#appView.workspace-shell:not(.hidden)) #appView#appView.workspace-shell:not(.hidden) #overviewPanel#overviewPanel .client-line-chart svg {
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
}

html:not(.electron-client):not(.exeify-client) body:has(#appView.workspace-shell:not(.hidden)) #appView#appView.workspace-shell:not(.hidden) #overviewPanel#overviewPanel .client-line-chart > div {
  display: flex !important;
  justify-content: space-between !important;
  align-items: end !important;
  gap: 0 !important;
  padding: 0 10px !important;
  margin: 0 !important;
}

html:not(.electron-client):not(.exeify-client) body:has(#appView.workspace-shell:not(.hidden)) #appView#appView.workspace-shell:not(.hidden) #overviewPanel#overviewPanel .chart-line {
  stroke-width: 2.6 !important;
  filter: drop-shadow(0 5px 9px rgba(255, 106, 22, .14)) !important;
}

html:not(.electron-client):not(.exeify-client) body:has(#appView.workspace-shell:not(.hidden)) #appView#appView.workspace-shell:not(.hidden) #overviewPanel#overviewPanel .chart-point circle {
  stroke-width: 3 !important;
}

html:not(.electron-client):not(.exeify-client) body:has(#appView.workspace-shell:not(.hidden)) #appView#appView.workspace-shell:not(.hidden) #overviewPanel#overviewPanel .chart-point.is-active circle {
  r: 6px !important;
}

/* Web result panels: keep the outer cards fixed and remove nested result boxes. */
html:not(.electron-client):not(.exeify-client) body:has(#appView.workspace-shell:not(.hidden)) #appView#appView#appView.workspace-shell:not(.hidden) #resumeDock#resumeDock:not(.workspace-panel-hidden) > .resume-result-stack {
  align-self: stretch !important;
  min-height: 0 !important;
  overflow: hidden !important;
}

html:not(.electron-client):not(.exeify-client) body:has(#appView.workspace-shell:not(.hidden)) #appView#appView#appView.workspace-shell:not(.hidden) #resumeDock#resumeDock:not(.workspace-panel-hidden) .resume-advantages-card.resume-advantages-card {
  grid-template-rows: auto minmax(0, 1fr) !important;
  align-self: stretch !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: 100% !important;
  overflow: hidden !important;
}

html:not(.electron-client):not(.exeify-client) body:has(#appView.workspace-shell:not(.hidden)) #appView#appView#appView.workspace-shell:not(.hidden) #resumeDock#resumeDock:not(.workspace-panel-hidden) .resume-advantages-card .resume-insight-strip {
  display: none !important;
}

html:not(.electron-client):not(.exeify-client) body:has(#appView.workspace-shell:not(.hidden)) #appView#appView#appView.workspace-shell:not(.hidden) #resumeDock#resumeDock:not(.workspace-panel-hidden) .resume-advantages-card .resume-advantages {
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-evenly !important;
  gap: 0 !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 16px 0 0 !important;
  padding: 8px 12px !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html:not(.electron-client):not(.exeify-client) body:has(#appView.workspace-shell:not(.hidden)) #appView#appView#appView.workspace-shell:not(.hidden) #resumeDock#resumeDock:not(.workspace-panel-hidden) .resume-advantages-card .resume-advantages li {
  flex: 1 1 auto !important;
  align-items: center !important;
  padding: 8px 4px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html:not(.electron-client):not(.exeify-client) body:has(#appView.workspace-shell:not(.hidden)) #appView#appView#appView.workspace-shell:not(.hidden) #resumeDock#resumeDock:not(.workspace-panel-hidden) .resume-advantages-card .resume-advantages li span {
  white-space: pre-line !important;
}

html:not(.electron-client):not(.exeify-client) body:has(#appView.workspace-shell:not(.hidden)) #appView#appView#appView.workspace-shell:not(.hidden) #resumeDock#resumeDock:not(.workspace-panel-hidden) .resume-advantages-card .resume-advantages li + li {
  border-top: 0 !important;
}

html:not(.electron-client):not(.exeify-client) body:has(#appView.workspace-shell:not(.hidden)) #appView#appView#appView.workspace-shell:not(.hidden) #resumeDock#resumeDock:not(.workspace-panel-hidden) .resume-advantages-card .resume-result-waiting {
  min-height: 0 !important;
  height: 100% !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html:not(.electron-client):not(.exeify-client) body:has(#appView.workspace-shell:not(.hidden)) #appView#appView#appView.workspace-shell:not(.hidden) #roleAnalysisPanel#roleAnalysisPanel:not(.workspace-panel-hidden) .client-role-preview-grid,
html:not(.electron-client):not(.exeify-client) body:has(#appView.workspace-shell:not(.hidden)) #appView#appView#appView.workspace-shell:not(.hidden) #roleAnalysisPanel#roleAnalysisPanel:not(.workspace-panel-hidden) .role-result-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 18px !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
}

html:not(.electron-client):not(.exeify-client) body:has(#appView.workspace-shell:not(.hidden)) #appView#appView#appView.workspace-shell:not(.hidden) #roleAnalysisPanel#roleAnalysisPanel:not(.workspace-panel-hidden) .client-role-preview-grid {
  margin-top: 16px !important;
}

html:not(.electron-client):not(.exeify-client) body:has(#appView.workspace-shell:not(.hidden)) #appView#appView#appView.workspace-shell:not(.hidden) #roleAnalysisPanel#roleAnalysisPanel:not(.workspace-panel-hidden) .role-result-grid {
  height: auto !important;
  margin-top: 18px !important;
}

html:not(.electron-client):not(.exeify-client) body:has(#appView.workspace-shell:not(.hidden)) #appView#appView#appView.workspace-shell:not(.hidden) #roleAnalysisPanel#roleAnalysisPanel:not(.workspace-panel-hidden) .client-requirement-list,
html:not(.electron-client):not(.exeify-client) body:has(#appView.workspace-shell:not(.hidden)) #appView#appView#appView.workspace-shell:not(.hidden) #roleAnalysisPanel#roleAnalysisPanel:not(.workspace-panel-hidden) .client-radar-card,
html:not(.electron-client):not(.exeify-client) body:has(#appView.workspace-shell:not(.hidden)) #appView#appView#appView.workspace-shell:not(.hidden) #roleAnalysisPanel#roleAnalysisPanel:not(.workspace-panel-hidden) .role-info-block.role-info-block {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-rows: auto minmax(0, 1fr) !important;
  align-content: stretch !important;
  align-items: stretch !important;
  height: 324px !important;
  min-height: 324px !important;
  max-height: 324px !important;
  padding: 20px 22px !important;
  overflow: hidden !important;
  border: 1px solid rgb(255, 216, 183) !important;
  border-radius: 18px !important;
  background: #fff !important;
  box-shadow: none !important;
}

html:not(.electron-client):not(.exeify-client) body:has(#appView.workspace-shell:not(.hidden)) #appView#appView#appView.workspace-shell:not(.hidden) #roleAnalysisPanel#roleAnalysisPanel:not(.workspace-panel-hidden) .client-requirement-list > h3,
html:not(.electron-client):not(.exeify-client) body:has(#appView.workspace-shell:not(.hidden)) #appView#appView#appView.workspace-shell:not(.hidden) #roleAnalysisPanel#roleAnalysisPanel:not(.workspace-panel-hidden) .client-radar-card > h3,
html:not(.electron-client):not(.exeify-client) body:has(#appView.workspace-shell:not(.hidden)) #appView#appView#appView.workspace-shell:not(.hidden) #roleAnalysisPanel#roleAnalysisPanel:not(.workspace-panel-hidden) .role-info-block > h3 {
  margin: 0 0 14px !important;
}

html:not(.electron-client):not(.exeify-client) body:has(#appView.workspace-shell:not(.hidden)) #appView#appView#appView.workspace-shell:not(.hidden) #roleAnalysisPanel#roleAnalysisPanel:not(.workspace-panel-hidden) .client-requirement-list > .role-card-scroll-body,
html:not(.electron-client):not(.exeify-client) body:has(#appView.workspace-shell:not(.hidden)) #appView#appView#appView.workspace-shell:not(.hidden) #roleAnalysisPanel#roleAnalysisPanel:not(.workspace-panel-hidden) .role-info-block > .role-card-scroll-body.role-card-scroll-body {
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-evenly !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  padding: 0 !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html:not(.electron-client):not(.exeify-client) body:has(#appView.workspace-shell:not(.hidden)) #appView#appView#appView.workspace-shell:not(.hidden) #roleAnalysisPanel#roleAnalysisPanel:not(.workspace-panel-hidden) .client-requirement-list p,
html:not(.electron-client):not(.exeify-client) body:has(#appView.workspace-shell:not(.hidden)) #appView#appView#appView.workspace-shell:not(.hidden) #roleAnalysisPanel#roleAnalysisPanel:not(.workspace-panel-hidden) .role-info-block li,
html:not(.electron-client):not(.exeify-client) body:has(#appView.workspace-shell:not(.hidden)) #appView#appView#appView.workspace-shell:not(.hidden) #roleAnalysisPanel#roleAnalysisPanel:not(.workspace-panel-hidden) .role-info-row {
  margin: 0 !important;
  padding: 4px 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html:not(.electron-client):not(.exeify-client) body:has(#appView.workspace-shell:not(.hidden)) #appView#appView#appView#appView.workspace-shell:not(.hidden) #roleAnalysisPanel#roleAnalysisPanel#roleAnalysisPanel:not(.workspace-panel-hidden) .client-requirement-list > .role-card-scroll-body > p {
  display: block !important;
  grid-template-columns: minmax(0, 1fr) !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 4px 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html:not(.electron-client):not(.exeify-client) body:has(#appView.workspace-shell:not(.hidden)) #appView#appView#appView.workspace-shell:not(.hidden) #roleAnalysisPanel#roleAnalysisPanel:not(.workspace-panel-hidden) .client-requirement-list b {
  display: none !important;
}

html:not(.electron-client):not(.exeify-client) body:has(#appView.workspace-shell:not(.hidden)) #appView#appView#appView#appView.workspace-shell:not(.hidden) #roleAnalysisPanel#roleAnalysisPanel#roleAnalysisPanel:not(.workspace-panel-hidden) .client-requirement-list > .role-card-scroll-body > p > span {
  display: block !important;
  width: 100% !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #64748b !important;
  line-height: 1.62 !important;
}

html:not(.electron-client):not(.exeify-client) body:has(#appView.workspace-shell:not(.hidden)) #appView#appView#appView.workspace-shell:not(.hidden) #roleAnalysisPanel#roleAnalysisPanel:not(.workspace-panel-hidden) .client-radar,
html:not(.electron-client):not(.exeify-client) body:has(#appView.workspace-shell:not(.hidden)) #appView#appView#appView.workspace-shell:not(.hidden) #roleAnalysisPanel#roleAnalysisPanel:not(.workspace-panel-hidden) .role-radar-empty,
html:not(.electron-client):not(.exeify-client) body:has(#appView.workspace-shell:not(.hidden)) #appView#appView#appView.workspace-shell:not(.hidden) #roleAnalysisPanel#roleAnalysisPanel:not(.workspace-panel-hidden) .role-empty-hint {
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  padding: 0 !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html:not(.electron-client):not(.exeify-client) body:has(#appView.workspace-shell:not(.hidden)) #appView#appView#appView.workspace-shell:not(.hidden) #roleAnalysisPanel#roleAnalysisPanel:not(.workspace-panel-hidden) .role-radar-empty,
html:not(.electron-client):not(.exeify-client) body:has(#appView.workspace-shell:not(.hidden)) #appView#appView#appView.workspace-shell:not(.hidden) #roleAnalysisPanel#roleAnalysisPanel:not(.workspace-panel-hidden) .role-empty-hint {
  display: grid !important;
  place-items: center !important;
  text-align: center !important;
}

html:not(.electron-client):not(.exeify-client) body:has(#appView.workspace-shell:not(.hidden)) #appView#appView#appView.workspace-shell:not(.hidden) #roleAnalysisPanel#roleAnalysisPanel:not(.workspace-panel-hidden) .role-info-block > .role-card-scroll-body .role-info-list,
html:not(.electron-client):not(.exeify-client) body:has(#appView.workspace-shell:not(.hidden)) #appView#appView#appView.workspace-shell:not(.hidden) #roleAnalysisPanel#roleAnalysisPanel:not(.workspace-panel-hidden) .role-info-block > .role-card-scroll-body ul {
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-evenly !important;
  width: 100% !important;
  min-height: 100% !important;
  gap: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  list-style: none !important;
}

/* Web role requirement card: flatten every inner content layer. */
html:not(.electron-client):not(.exeify-client) body:has(#appView.workspace-shell:not(.hidden)) #appView#appView#appView#appView.workspace-shell:not(.hidden) #roleAnalysisPanel#roleAnalysisPanel#roleAnalysisPanel:not(.workspace-panel-hidden) .client-requirement-list.client-requirement-list {
  background: #fff !important;
  box-shadow: none !important;
}

html:not(.electron-client):not(.exeify-client) body:has(#appView.workspace-shell:not(.hidden)) #appView#appView#appView#appView.workspace-shell:not(.hidden) #roleAnalysisPanel#roleAnalysisPanel#roleAnalysisPanel:not(.workspace-panel-hidden) .client-requirement-list > :not(h3),
html:not(.electron-client):not(.exeify-client) body:has(#appView.workspace-shell:not(.hidden)) #appView#appView#appView#appView.workspace-shell:not(.hidden) #roleAnalysisPanel#roleAnalysisPanel#roleAnalysisPanel:not(.workspace-panel-hidden) .client-requirement-list .role-card-scroll-body,
html:not(.electron-client):not(.exeify-client) body:has(#appView.workspace-shell:not(.hidden)) #appView#appView#appView#appView.workspace-shell:not(.hidden) #roleAnalysisPanel#roleAnalysisPanel#roleAnalysisPanel:not(.workspace-panel-hidden) .client-requirement-list .role-card-scroll-body > *,
html:not(.electron-client):not(.exeify-client) body:has(#appView.workspace-shell:not(.hidden)) #appView#appView#appView#appView.workspace-shell:not(.hidden) #roleAnalysisPanel#roleAnalysisPanel#roleAnalysisPanel:not(.workspace-panel-hidden) .client-requirement-list > p,
html:not(.electron-client):not(.exeify-client) body:has(#appView.workspace-shell:not(.hidden)) #appView#appView#appView#appView.workspace-shell:not(.hidden) #roleAnalysisPanel#roleAnalysisPanel#roleAnalysisPanel:not(.workspace-panel-hidden) .client-requirement-list > p > span,
html:not(.electron-client):not(.exeify-client) body:has(#appView.workspace-shell:not(.hidden)) #appView#appView#appView#appView.workspace-shell:not(.hidden) #roleAnalysisPanel#roleAnalysisPanel#roleAnalysisPanel:not(.workspace-panel-hidden) .client-requirement-list .role-empty-hint.role-empty-hint {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html:not(.electron-client):not(.exeify-client) body:has(#appView.workspace-shell:not(.hidden)) #appView#appView#appView#appView.workspace-shell:not(.hidden) #roleAnalysisPanel#roleAnalysisPanel#roleAnalysisPanel:not(.workspace-panel-hidden) .client-requirement-list > p,
html:not(.electron-client):not(.exeify-client) body:has(#appView.workspace-shell:not(.hidden)) #appView#appView#appView#appView.workspace-shell:not(.hidden) #roleAnalysisPanel#roleAnalysisPanel#roleAnalysisPanel:not(.workspace-panel-hidden) .client-requirement-list .role-card-scroll-body > p:not(.role-empty-hint) {
  display: block !important;
  width: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 4px 0 !important;
}

html:not(.electron-client):not(.exeify-client) body:has(#appView.workspace-shell:not(.hidden)) #appView#appView#appView#appView.workspace-shell:not(.hidden) #roleAnalysisPanel#roleAnalysisPanel#roleAnalysisPanel:not(.workspace-panel-hidden) .client-requirement-list b {
  display: none !important;
}

html:not(.electron-client):not(.exeify-client) body:has(#appView.workspace-shell:not(.hidden)) #appView#appView#appView#appView.workspace-shell:not(.hidden) #roleAnalysisPanel#roleAnalysisPanel#roleAnalysisPanel:not(.workspace-panel-hidden) .client-requirement-list > p > span,
html:not(.electron-client):not(.exeify-client) body:has(#appView.workspace-shell:not(.hidden)) #appView#appView#appView#appView.workspace-shell:not(.hidden) #roleAnalysisPanel#roleAnalysisPanel#roleAnalysisPanel:not(.workspace-panel-hidden) .client-requirement-list .role-card-scroll-body > p:not(.role-empty-hint) > span {
  display: block !important;
  width: 100% !important;
  padding: 0 !important;
  color: #64748b !important;
  line-height: 1.62 !important;
}

html:not(.electron-client):not(.exeify-client) #roleAnalysisPanel#roleAnalysisPanel .client-requirement-list.client-requirement-list {
  background: #fff !important;
  box-shadow: none !important;
}

html:not(.electron-client):not(.exeify-client) #roleAnalysisPanel#roleAnalysisPanel .client-requirement-list > :not(h3),
html:not(.electron-client):not(.exeify-client) #roleAnalysisPanel#roleAnalysisPanel .client-requirement-list .role-card-scroll-body,
html:not(.electron-client):not(.exeify-client) #roleAnalysisPanel#roleAnalysisPanel .client-requirement-list .role-card-scroll-body > *,
html:not(.electron-client):not(.exeify-client) #roleAnalysisPanel#roleAnalysisPanel .client-requirement-list > p,
html:not(.electron-client):not(.exeify-client) #roleAnalysisPanel#roleAnalysisPanel .client-requirement-list > p > span,
html:not(.electron-client):not(.exeify-client) #roleAnalysisPanel#roleAnalysisPanel .client-requirement-list .role-empty-hint.role-empty-hint {
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html:not(.electron-client):not(.exeify-client) #roleAnalysisPanel#roleAnalysisPanel .client-requirement-list > .role-card-flat-body.role-card-flat-body {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  gap: 10px !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html:not(.electron-client):not(.exeify-client) #roleAnalysisPanel#roleAnalysisPanel .client-requirement-list .role-card-flat-body > .role-requirement-line {
  display: grid !important;
  grid-template-columns: 22px minmax(0, 1fr) !important;
  column-gap: 10px !important;
  align-items: start !important;
  width: 100% !important;
  flex: 0 0 auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 2px 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #64748b !important;
  font-size: 15px !important;
  line-height: 1.62 !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
}

html:not(.electron-client):not(.exeify-client) #roleAnalysisPanel#roleAnalysisPanel .client-requirement-list .role-requirement-dot {
  display: block !important;
  width: 7px !important;
  height: 7px !important;
  min-width: 7px !important;
  justify-self: center !important;
  margin-top: .72em !important;
  border-radius: 999px !important;
  background: #fb923c !important;
}

html:not(.electron-client):not(.exeify-client) #roleAnalysisPanel#roleAnalysisPanel .client-requirement-list .role-requirement-text {
  display: block !important;
  min-width: 0 !important;
  color: #64748b !important;
  font-size: 15px !important;
  line-height: 1.62 !important;
  overflow-wrap: anywhere !important;
}

html:not(.electron-client):not(.exeify-client) #roleAnalysisPanel#roleAnalysisPanel .client-requirement-list > p {
  display: none !important;
}

html:not(.electron-client):not(.exeify-client) #roleAnalysisPanel#roleAnalysisPanel .client-requirement-list:not(:has(.role-card-flat-body))::after {
  content: "完成岗位分析后生成岗位要求拆解。" !important;
  display: grid !important;
  place-items: center !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #64748b !important;
  text-align: center !important;
  line-height: 1.55 !important;
}

html:not(.electron-client):not(.exeify-client) #roleAnalysisPanel#roleAnalysisPanel .role-info-block .role-info-list {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  gap: 9px !important;
  width: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

html:not(.electron-client):not(.exeify-client) #roleAnalysisPanel#roleAnalysisPanel .role-info-block .role-info-row {
  display: grid !important;
  grid-template-columns: 22px minmax(0, 1fr) !important;
  column-gap: 10px !important;
  align-items: start !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 2px 0 !important;
  font-size: 15px !important;
  line-height: 1.55 !important;
}

html:not(.electron-client):not(.exeify-client) #roleAnalysisPanel#roleAnalysisPanel .role-info-block .role-info-dot {
  display: block !important;
  width: 7px !important;
  height: 7px !important;
  justify-self: center !important;
  margin-top: .68em !important;
  border-radius: 999px !important;
  background: #fb923c !important;
}

html:not(.electron-client):not(.exeify-client) #roleAnalysisPanel#roleAnalysisPanel .role-info-block .role-info-text {
  display: block !important;
  min-width: 0 !important;
  padding: 0 !important;
  color: #64748b !important;
  font-size: 15px !important;
  line-height: 1.55 !important;
  overflow-wrap: anywhere !important;
}

html:not(.electron-client):not(.exeify-client) #roleAnalysisPanel#roleAnalysisPanel .role-info-block > .role-card-scroll-body ul {
  justify-content: flex-start !important;
  gap: 9px !important;
}

html:not(.electron-client):not(.exeify-client) #roleAnalysisPanel#roleAnalysisPanel .role-info-block li {
  position: relative !important;
  padding: 2px 0 2px 18px !important;
  color: #64748b !important;
  line-height: 1.55 !important;
  list-style: none !important;
}

html:not(.electron-client):not(.exeify-client) #roleAnalysisPanel#roleAnalysisPanel .client-radar .radar-grid,
html:not(.electron-client):not(.exeify-client) #roleAnalysisPanel#roleAnalysisPanel .client-radar .radar-axis {
  stroke-width: .8 !important;
}

html:not(.electron-client):not(.exeify-client) #roleAnalysisPanel#roleAnalysisPanel .client-radar .radar-line {
  stroke-width: 2.2 !important;
}

/* Keep transient toast messages visible in the center of the workbench. */
.toast {
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  right: auto !important;
  bottom: auto !important;
  z-index: 10000 !important;
  transform: translate(-50%, -50%) !important;
  box-sizing: border-box !important;
  width: max-content !important;
  max-width: min(520px, calc(100vw - 48px)) !important;
  text-align: center !important;
  white-space: normal !important;
  pointer-events: none !important;
}

/* Keep the sidebar credit refresh button visible beside the balance label. */
#appView.workspace-shell:not(.hidden) .sidebar-credit-main {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-areas:
    "label"
    "balance" !important;
  align-items: start !important;
  justify-content: start !important;
  justify-items: start !important;
  row-gap: 2px !important;
  column-gap: 0 !important;
}

#appView.workspace-shell:not(.hidden) .sidebar-credit-label-row {
  grid-area: label !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  min-width: 0 !important;
  max-width: 100% !important;
}

#appView.workspace-shell:not(.hidden) .sidebar-credit-label-row span {
  margin: 0 !important;
  grid-column: auto !important;
  white-space: nowrap !important;
}

#appView.workspace-shell:not(.hidden) .sidebar-credit-main strong#creditBalance {
  grid-area: balance !important;
  display: block !important;
  margin-top: 1px !important;
}

.public-contact-page .contact-layout {
  display: grid;
  grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr);
  gap: 18px;
  align-items: stretch;
}

.public-contact-page .qr-card {
  overflow: hidden;
}

.public-contact-page .qr-card-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(170px, 220px);
  gap: 18px;
  align-items: center;
}

.public-contact-qr-frame {
  min-height: 220px;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 16px;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 247, 237, .96), rgba(255, 255, 255, .98)),
    #fff;
  box-sizing: border-box;
}

.public-contact-qr-frame.has-contact-qr {
  border-style: solid;
  background: #fff;
}

.public-contact-qr-image {
  display: block;
  width: min(188px, 100%);
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(154, 52, 18, .12);
}

.public-contact-qr-placeholder {
  display: grid;
  justify-items: center;
  gap: 10px;
  text-align: center;
}

.public-contact-qr-frame.has-contact-qr .public-contact-qr-placeholder {
  display: none;
}

@media (max-width: 760px) {
  html:not(.electron-client):not(.exeify-client) body:has(#authView.home-shell:not(.hidden)):not(.auth-drawer-open) {
    overflow-y: auto !important;
    touch-action: pan-y !important;
  }

  html:not(.electron-client):not(.exeify-client) body:has(#authView.home-shell:not(.hidden)):not(.auth-drawer-open) #authView.home-shell:not(.client-login-mode) {
    min-height: 100dvh !important;
    overflow-y: auto !important;
    touch-action: pan-y !important;
  }

  html:not(.electron-client):not(.exeify-client) #authView.home-shell:not(.client-login-mode) .public-contact-page .contact-layout,
  html:not(.electron-client):not(.exeify-client) #authView.home-shell:not(.client-login-mode) .public-contact-page .qr-card-inner {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  html:not(.electron-client):not(.exeify-client) #authView.home-shell:not(.client-login-mode) .public-contact-page .qr-card-inner {
    gap: 14px !important;
  }

  html:not(.electron-client):not(.exeify-client) #authView.home-shell:not(.client-login-mode) .public-contact-qr-frame {
    width: 100% !important;
    min-height: 188px !important;
  }

  html:not(.electron-client):not(.exeify-client) #authView.home-shell:not(.client-login-mode) .public-contact-qr-image {
    width: min(164px, 72vw) !important;
  }
}

#appView.workspace-shell:not(.hidden) .sidebar-credit-refresh {
  display: inline-grid !important;
  place-items: center !important;
  width: 18px !important;
  min-width: 18px !important;
  height: 18px !important;
  min-height: 18px !important;
  padding: 0 !important;
  border: 1px solid #fed7aa !important;
  border-radius: 999px !important;
  background: #fff7ed !important;
  color: #ea580c !important;
  cursor: pointer !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  opacity: 1 !important;
  visibility: visible !important;
}

#appView.workspace-shell:not(.hidden) .sidebar-credit-refresh.is-loading {
  animation: credit-refresh-spin .8s linear infinite;
}

html.exeify-client #appView.workspace-shell:not(.hidden) .sidebar-credit-main {
  grid-template-columns: minmax(0, 1fr) !important;
  row-gap: 1px !important;
}

html.exeify-client #appView.workspace-shell:not(.hidden) .sidebar-credit-refresh {
  width: 17px !important;
  min-width: 17px !important;
  height: 17px !important;
  min-height: 17px !important;
  font-size: 11px !important;
}

@keyframes credit-refresh-spin {
  to {
    transform: rotate(360deg);
  }
}

#appView.workspace-shell:not(.hidden) #answer.workspace-answer-card,
#appView.workspace-shell:not(.hidden) #answer.answer-output {
  min-height: 0 !important;
  max-height: 100% !important;
  padding-top: 8px !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  white-space: normal !important;
}

#appView.workspace-shell:not(.hidden) #answer .answer-thread {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  width: 100% !important;
  min-width: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 6px !important;
}

#appView.workspace-shell:not(.hidden) #answer .answer-item {
  margin: 0 !important;
  padding-top: 8px !important;
  padding-bottom: 8px !important;
}

#appView.workspace-shell:not(.hidden) #answer .answer-item > p {
  display: none !important;
}

#appView.workspace-shell:not(.hidden) #answer .answer-body-text {
  white-space: pre-wrap !important;
  word-break: break-word !important;
}

/* Mobile web auth: keep the public site and login drawer readable in narrow side browsers. */
@media (max-width: 760px) {
  html:not(.electron-client):not(.exeify-client) body:has(#authView:not(.hidden)) {
    display: block !important;
    width: 100vw !important;
    min-width: 0 !important;
    min-height: 100dvh !important;
    padding: 0 !important;
    overflow-x: hidden !important;
    background: #fff7ed !important;
  }

  html:not(.electron-client):not(.exeify-client) body:has(#authView:not(.hidden)) #authView#authView#authView {
    width: 100vw !important;
    min-width: 0 !important;
    max-width: 100vw !important;
    min-height: 100dvh !important;
    height: auto !important;
    margin: 0 !important;
    overflow-x: hidden !important;
    transform: none !important;
  }

  html:not(.electron-client):not(.exeify-client) #authView.home-shell:not(.client-login-mode) {
    --public-wide-width: calc(100vw - 24px) !important;
    --public-wide-gutter: 12px !important;
  }

  html:not(.electron-client):not(.exeify-client) #authView.home-shell:not(.client-login-mode) .home-header {
    width: 100% !important;
    min-height: 60px !important;
    padding: 10px 12px !important;
    gap: 8px !important;
    box-sizing: border-box !important;
  }

  html:not(.electron-client):not(.exeify-client) #authView.home-shell:not(.client-login-mode) .home-brand {
    min-width: 0 !important;
    flex: 1 1 auto !important;
  }

  html:not(.electron-client):not(.exeify-client) #authView.home-shell:not(.client-login-mode) .home-brand strong {
    max-width: 42vw !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  html:not(.electron-client):not(.exeify-client) #authView.home-shell:not(.client-login-mode) .home-brand small {
    display: none !important;
  }

  html:not(.electron-client):not(.exeify-client) #authView.home-shell:not(.client-login-mode) .home-nav,
  html:not(.electron-client):not(.exeify-client) #authView.home-shell:not(.client-login-mode) .home-auth-btn,
  html:not(.electron-client):not(.exeify-client) #authView.home-shell:not(.client-login-mode) .public-account-actions {
    display: none !important;
  }

  html:not(.electron-client):not(.exeify-client) #authView.home-shell:not(.client-login-mode) .home-menu-btn {
    display: inline-grid !important;
    flex: 0 0 44px !important;
    width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    place-items: center !important;
  }

  html:not(.electron-client):not(.exeify-client) #authView.home-shell:not(.client-login-mode) #mobilePublicMenu.mobile-public-menu:not(.hidden) {
    position: fixed !important;
    top: 64px !important;
    left: 12px !important;
    right: 12px !important;
    z-index: 9000 !important;
    display: grid !important;
    gap: 8px !important;
    width: auto !important;
    max-height: calc(100dvh - 76px) !important;
    padding: 12px !important;
    overflow-y: auto !important;
    border: 1px solid rgba(255, 151, 76, .28) !important;
    border-radius: 18px !important;
    background: rgba(255, 255, 255, .96) !important;
    box-shadow: 0 18px 42px rgba(194, 65, 12, .14) !important;
    box-sizing: border-box !important;
  }

  html:not(.electron-client):not(.exeify-client) #authView.home-shell:not(.client-login-mode) .auth-hero,
  html:not(.electron-client):not(.exeify-client) #authView.home-shell:not(.client-login-mode) .trial-stage-inner,
  html:not(.electron-client):not(.exeify-client) #authView.home-shell:not(.client-login-mode) .home-feature-inner,
  html:not(.electron-client):not(.exeify-client) #authView.home-shell:not(.client-login-mode) .public-subpage,
  html:not(.electron-client):not(.exeify-client) #authView.home-shell:not(.client-login-mode) .public-footer {
    width: calc(100vw - 24px) !important;
    max-width: calc(100vw - 24px) !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  html:not(.electron-client):not(.exeify-client) #authView.home-shell:not(.client-login-mode) #homeIntro.auth-hero {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 20px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 24px 16px 30px !important;
  }

  html:not(.electron-client):not(.exeify-client) #authView.home-shell:not(.client-login-mode) #homeIntro .hero-main-title {
    font-size: clamp(32px, 9vw, 44px) !important;
    line-height: 1.08 !important;
    letter-spacing: 0 !important;
  }

  html:not(.electron-client):not(.exeify-client) #authView.home-shell:not(.client-login-mode) #homeIntro .hero-copy {
    max-width: 100% !important;
    font-size: 14px !important;
    line-height: 1.72 !important;
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
  }

  html:not(.electron-client):not(.exeify-client) #authView.home-shell:not(.client-login-mode) #homeIntro .hero-ai-flow,
  html:not(.electron-client):not(.exeify-client) #authView.home-shell:not(.client-login-mode) #homeIntro .home-cta {
    max-width: 100% !important;
  }

  html:not(.electron-client):not(.exeify-client) #authView.home-shell:not(.client-login-mode) #homeIntro .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    max-width: 100% !important;
  }

  html:not(.electron-client):not(.exeify-client) #authView.home-shell:not(.client-login-mode) #homeIntro .hero-visual-shell {
    display: none !important;
  }

  html:not(.electron-client):not(.exeify-client) body.auth-drawer-open:has(#authView:not(.hidden)) {
    overflow: hidden !important;
  }

  html:not(.electron-client):not(.exeify-client) body.auth-drawer-open:has(#authView:not(.hidden)) #authView#authView#authView #authDrawer#authDrawer.auth-drawer {
    position: fixed !important;
    inset: 0 !important;
    z-index: 9500 !important;
    display: flex !important;
    flex-direction: column !important;
    width: 100vw !important;
    min-width: 0 !important;
    max-width: 100vw !important;
    height: 100dvh !important;
    min-height: 100dvh !important;
    max-height: 100dvh !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #fffaf5 !important;
    box-shadow: none !important;
    transform: none !important;
  }

  html:not(.electron-client):not(.exeify-client) #authView #authDrawer.auth-drawer .auth-drawer-head {
    flex: 0 0 58px !important;
    width: 100% !important;
    height: 58px !important;
    min-height: 58px !important;
    padding: 8px 12px !important;
    border-bottom: 1px solid rgba(255, 151, 76, .18) !important;
  }

  html:not(.electron-client):not(.exeify-client) #authView #authDrawer.auth-drawer .auth-drawer-head .home-brand {
    min-width: 0 !important;
  }

  html:not(.electron-client):not(.exeify-client) #authView #authDrawer.auth-drawer .auth-drawer-head .home-brand small {
    display: none !important;
  }

  html:not(.electron-client):not(.exeify-client) #authView #authDrawer.auth-drawer #authDrawerCloseBtn {
    flex: 0 0 42px !important;
    width: 42px !important;
    min-width: 42px !important;
    height: 42px !important;
    min-height: 42px !important;
  }

  html:not(.electron-client):not(.exeify-client) body.auth-drawer-open:has(#authView:not(.hidden)) #authView#authView#authView #authDrawer.auth-drawer .auth-drawer-scroll {
    flex: 1 1 auto !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 12px !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    scrollbar-gutter: auto !important;
    -webkit-overflow-scrolling: touch !important;
    box-sizing: border-box !important;
  }

  html:not(.electron-client):not(.exeify-client) #authView #authDrawer.auth-drawer .auth-card-inner,
  html:not(.electron-client):not(.exeify-client) body.auth-mode-login #authView #authDrawer.auth-drawer .auth-card-inner,
  html:not(.electron-client):not(.exeify-client) body.auth-mode-register #authView #authDrawer.auth-drawer .auth-card-inner,
  html:not(.electron-client):not(.exeify-client) body.auth-mode-forgot #authView #authDrawer.auth-drawer .auth-card-inner {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 16px !important;
    overflow: visible !important;
    border-radius: 18px !important;
    box-sizing: border-box !important;
  }

  html:not(.electron-client):not(.exeify-client) #authView #authDrawer.auth-drawer .auth-title,
  html:not(.electron-client):not(.exeify-client) body.auth-mode-login #authView #authDrawer.auth-drawer .auth-title,
  html:not(.electron-client):not(.exeify-client) body.auth-mode-register #authView #authDrawer.auth-drawer .auth-title,
  html:not(.electron-client):not(.exeify-client) body.auth-mode-forgot #authView #authDrawer.auth-drawer .auth-title {
    min-height: 0 !important;
    margin: 0 0 12px !important;
  }

  html:not(.electron-client):not(.exeify-client) #authView #authDrawer.auth-drawer .auth-title h2,
  html:not(.electron-client):not(.exeify-client) body.auth-mode-login #authView #authDrawer.auth-drawer .auth-title h2,
  html:not(.electron-client):not(.exeify-client) body.auth-mode-register #authView #authDrawer.auth-drawer .auth-title h2,
  html:not(.electron-client):not(.exeify-client) body.auth-mode-forgot #authView #authDrawer.auth-drawer .auth-title h2 {
    min-height: 0 !important;
    margin-top: 5px !important;
    font-size: clamp(22px, 6.2vw, 27px) !important;
    line-height: 1.16 !important;
  }

  html:not(.electron-client):not(.exeify-client) #authView #authDrawer.auth-drawer .auth-title p:not(.eyebrow),
  html:not(.electron-client):not(.exeify-client) body.auth-mode-login #authView #authDrawer.auth-drawer .auth-title p:not(.eyebrow),
  html:not(.electron-client):not(.exeify-client) body.auth-mode-register #authView #authDrawer.auth-drawer .auth-title p:not(.eyebrow),
  html:not(.electron-client):not(.exeify-client) body.auth-mode-forgot #authView #authDrawer.auth-drawer .auth-title p:not(.eyebrow) {
    min-height: 0 !important;
    margin-top: 6px !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
  }

  html:not(.electron-client):not(.exeify-client) #authView #authDrawer.auth-drawer .auth-tabs,
  html:not(.electron-client):not(.exeify-client) body.auth-mode-login #authView #authDrawer.auth-drawer .auth-tabs,
  html:not(.electron-client):not(.exeify-client) body.auth-mode-register #authView #authDrawer.auth-drawer .auth-tabs,
  html:not(.electron-client):not(.exeify-client) body.auth-mode-forgot #authView #authDrawer.auth-drawer .auth-tabs {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 6px !important;
    width: 100% !important;
    min-height: 36px !important;
    margin: 10px 0 0 !important;
    padding: 4px !important;
    border-radius: 14px !important;
  }

  html:not(.electron-client):not(.exeify-client) #authView #authDrawer.auth-drawer .auth-tabs button,
  html:not(.electron-client):not(.exeify-client) body.auth-mode-login #authView #authDrawer.auth-drawer .auth-tabs button,
  html:not(.electron-client):not(.exeify-client) body.auth-mode-register #authView #authDrawer.auth-drawer .auth-tabs button,
  html:not(.electron-client):not(.exeify-client) body.auth-mode-forgot #authView #authDrawer.auth-drawer .auth-tabs button {
    min-width: 0 !important;
    min-height: 34px !important;
    padding: 0 4px !important;
    font-size: 12px !important;
    line-height: 1.1 !important;
    white-space: nowrap !important;
  }

  html:not(.electron-client):not(.exeify-client) #authView #authDrawer.auth-drawer .auth-form:not(.hidden),
  html:not(.electron-client):not(.exeify-client) body.auth-mode-login #authView #authDrawer.auth-drawer .auth-form:not(.hidden),
  html:not(.electron-client):not(.exeify-client) body.auth-mode-register #authView #authDrawer.auth-drawer .auth-form:not(.hidden),
  html:not(.electron-client):not(.exeify-client) body.auth-mode-forgot #authView #authDrawer.auth-drawer .auth-form:not(.hidden) {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 10px !important;
    width: 100% !important;
    margin-top: 12px !important;
  }

  html:not(.electron-client):not(.exeify-client) #authView #authDrawer.auth-drawer .auth-form label,
  html:not(.electron-client):not(.exeify-client) #authView #authDrawer.auth-drawer .auth-form .auth-form-row,
  html:not(.electron-client):not(.exeify-client) #authView #authDrawer.auth-drawer .auth-form .input-wrap,
  html:not(.electron-client):not(.exeify-client) #authView #authDrawer.auth-drawer .auth-form .captcha-row,
  html:not(.electron-client):not(.exeify-client) #authView #authDrawer.auth-drawer .auth-form .code-row,
  html:not(.electron-client):not(.exeify-client) #authView #authDrawer.auth-drawer .auth-form > .primary {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  html:not(.electron-client):not(.exeify-client) #authView #authDrawer.auth-drawer #registerForm.auth-form:not(.hidden),
  html:not(.electron-client):not(.exeify-client) #authView #authDrawer.auth-drawer #registerForm > .auth-form-row.auth-form-row-7-3,
  html:not(.electron-client):not(.exeify-client) #authView #authDrawer.auth-drawer #registerForm > .auth-form-row.auth-form-row-7-3:nth-of-type(1),
  html:not(.electron-client):not(.exeify-client) #authView #authDrawer.auth-drawer #registerForm > .auth-form-row.auth-form-row-7-3:nth-of-type(2) {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 10px !important;
  }

  html:not(.electron-client):not(.exeify-client) #authView #authDrawer.auth-drawer .auth-form .input-wrap,
  html:not(.electron-client):not(.exeify-client) #authView #authDrawer.auth-drawer .auth-form .input-wrap input,
  html:not(.electron-client):not(.exeify-client) #authView #authDrawer.auth-drawer .auth-form .captcha-row input,
  html:not(.electron-client):not(.exeify-client) #authView #authDrawer.auth-drawer .auth-form .captcha-image,
  html:not(.electron-client):not(.exeify-client) #authView #authDrawer.auth-drawer .auth-form .code-row input,
  html:not(.electron-client):not(.exeify-client) #authView #authDrawer.auth-drawer .auth-form .code-row .secondary {
    height: 42px !important;
    min-height: 42px !important;
    border-radius: 12px !important;
  }

  html:not(.electron-client):not(.exeify-client) #authView #authDrawer.auth-drawer .auth-form .input-wrap input {
    width: 100% !important;
  }

  html:not(.electron-client):not(.exeify-client) #authView #authDrawer.auth-drawer .auth-form .captcha-row,
  html:not(.electron-client):not(.exeify-client) #authView #authDrawer.auth-drawer .auth-form .code-row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(108px, .42fr) !important;
    gap: 8px !important;
  }

  html:not(.electron-client):not(.exeify-client) #authView #authDrawer.auth-drawer .auth-form .captcha-image,
  html:not(.electron-client):not(.exeify-client) body.auth-mode-login #authView #authDrawer.auth-drawer .auth-form .captcha-image {
    width: 100% !important;
    max-width: none !important;
  }

  html:not(.electron-client):not(.exeify-client) #authView #authDrawer.auth-drawer #registerForm .referral-input-wrap,
  html:not(.electron-client):not(.exeify-client) #authView #authDrawer.auth-drawer #registerForm.auth-form .referral-input-wrap {
    flex: initial !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
  }

  html:not(.electron-client):not(.exeify-client) #authView #authDrawer.auth-drawer #registerForm .code-row,
  html:not(.electron-client):not(.exeify-client) #authView #authDrawer.auth-drawer #forgotForm .code-row {
    grid-template-columns: minmax(0, 1fr) minmax(112px, .42fr) !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    margin-left: 0 !important;
  }

  html:not(.electron-client):not(.exeify-client) #authView #authDrawer.auth-drawer #registerForm .code-row input,
  html:not(.electron-client):not(.exeify-client) #authView #authDrawer.auth-drawer #registerForm .code-row .secondary {
    flex: initial !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
  }

  html:not(.electron-client):not(.exeify-client) #authView #authDrawer.auth-drawer .ali-captcha-panel:not(.hidden) {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 78px !important;
    gap: 8px !important;
    width: 100% !important;
  }

  html:not(.electron-client):not(.exeify-client) #authView #authDrawer.auth-drawer .ali-captcha-button,
  html:not(.electron-client):not(.exeify-client) #authView #authDrawer.auth-drawer .ali-captcha-status {
    flex: initial !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 42px !important;
    min-height: 42px !important;
    padding-inline: 10px !important;
    font-size: 12px !important;
  }

  html:not(.electron-client):not(.exeify-client) #authView #authDrawer.auth-drawer #loginForm.auth-form .client-login-options {
    gap: 10px !important;
    font-size: 12px !important;
  }

  html:not(.electron-client):not(.exeify-client) #authView #authDrawer.auth-drawer .auth-form > .primary {
    height: 44px !important;
    min-height: 44px !important;
    margin-top: 2px !important;
    border-radius: 13px !important;
  }

  html:not(.electron-client):not(.exeify-client) #authView #authDrawer.auth-drawer .message {
    min-height: 16px !important;
    margin-top: 8px !important;
    font-size: 12px !important;
  }

  html:not(.electron-client):not(.exeify-client) #authView #authDrawer.auth-drawer .client-sync-foot,
  html:not(.electron-client):not(.exeify-client) #authView #authDrawer.auth-drawer .auth-drawer-foot {
    display: none !important;
  }
}

@media (max-width: 380px) {
  html:not(.electron-client):not(.exeify-client) #authView #authDrawer.auth-drawer .auth-card-inner {
    padding: 14px !important;
  }

  html:not(.electron-client):not(.exeify-client) #authView #authDrawer.auth-drawer .auth-tabs button {
    font-size: 11px !important;
    padding-inline: 2px !important;
  }

  html:not(.electron-client):not(.exeify-client) #authView #authDrawer.auth-drawer .auth-form .captcha-row,
  html:not(.electron-client):not(.exeify-client) #authView #authDrawer.auth-drawer .auth-form .code-row,
  html:not(.electron-client):not(.exeify-client) #authView #authDrawer.auth-drawer .ali-captcha-panel:not(.hidden) {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

@media (max-width: 760px) {
  html:not(.electron-client) #authView.home-shell:not(.client-login-mode) #homeIntro .auth-hero-main,
  html:not(.electron-client) #authView.home-shell:not(.client-login-mode) #homeIntro .auth-hero-main > * {
    width: calc(100vw - 56px) !important;
    min-width: 0 !important;
    max-width: calc(100vw - 56px) !important;
    box-sizing: border-box !important;
  }

  html:not(.electron-client) #authView.home-shell:not(.client-login-mode) #homeIntro .hero-copy {
    display: block !important;
    width: calc(100vw - 56px) !important;
    max-width: calc(100vw - 56px) !important;
    white-space: normal !important;
    word-break: break-all !important;
    overflow-wrap: anywhere !important;
  }

  html:not(.electron-client) #authView#authView:not(.client-login-mode) #authDrawer#authDrawer.auth-drawer,
  html:not(.electron-client) body.auth-drawer-open #authView#authView:not(.client-login-mode) #authDrawer#authDrawer.auth-drawer {
    left: 0 !important;
    right: auto !important;
    width: 100vw !important;
    min-width: 0 !important;
    max-width: 100vw !important;
    height: 100dvh !important;
    min-height: 100dvh !important;
    max-height: 100dvh !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border-radius: 0 !important;
    box-sizing: border-box !important;
  }

  html:not(.electron-client) #authView#authView:not(.client-login-mode) #authDrawer#authDrawer.auth-drawer .auth-drawer-scroll,
  html:not(.electron-client) body.auth-drawer-open #authView#authView:not(.client-login-mode) #authDrawer#authDrawer.auth-drawer .auth-drawer-scroll {
    width: 100vw !important;
    min-width: 0 !important;
    max-width: 100vw !important;
    padding: 12px !important;
    overflow-x: hidden !important;
    scrollbar-gutter: auto !important;
    box-sizing: border-box !important;
  }

  html:not(.electron-client) #authView#authView:not(.client-login-mode) #authDrawer#authDrawer.auth-drawer .auth-card-inner,
  html:not(.electron-client) body.auth-mode-login #authView#authView:not(.client-login-mode) #authDrawer#authDrawer.auth-drawer .auth-card-inner,
  html:not(.electron-client) body.auth-mode-register #authView#authView:not(.client-login-mode) #authDrawer#authDrawer.auth-drawer .auth-card-inner,
  html:not(.electron-client) body.auth-mode-forgot #authView#authView:not(.client-login-mode) #authDrawer#authDrawer.auth-drawer .auth-card-inner {
    width: calc(100vw - 24px) !important;
    min-width: 0 !important;
    max-width: calc(100vw - 24px) !important;
    margin: 0 auto !important;
    padding: 16px !important;
    box-sizing: border-box !important;
  }

  html:not(.electron-client) #authView#authView:not(.client-login-mode) #authDrawer#authDrawer.auth-drawer .auth-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    width: calc(100vw - 56px) !important;
    min-width: 0 !important;
    max-width: calc(100vw - 56px) !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  html:not(.electron-client) #authView#authView:not(.client-login-mode) #authDrawer#authDrawer.auth-drawer .auth-tabs button {
    min-width: 0 !important;
    max-width: 100% !important;
    padding-inline: 4px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  html:not(.electron-client) #authView#authView:not(.client-login-mode) #authDrawer#authDrawer.auth-drawer #loginForm.auth-form .ali-captcha-panel:not(.hidden),
  html:not(.electron-client) #authView#authView:not(.client-login-mode) #authDrawer#authDrawer.auth-drawer #registerForm.auth-form .ali-captcha-panel:not(.hidden),
  html:not(.electron-client) #authView#authView:not(.client-login-mode) #authDrawer#authDrawer.auth-drawer #forgotForm.auth-form .ali-captcha-panel:not(.hidden) {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 72px !important;
    gap: 8px !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  html:not(.electron-client) #authView#authView:not(.client-login-mode) #authDrawer#authDrawer.auth-drawer .ali-captcha-panel .ali-captcha-button,
  html:not(.electron-client) #authView#authView:not(.client-login-mode) #authDrawer#authDrawer.auth-drawer .ali-captcha-panel .ali-captcha-status {
    flex: initial !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    padding-inline: 8px !important;
    box-sizing: border-box !important;
  }

  html:not(.electron-client) #authView#authView:not(.client-login-mode) #authDrawer#authDrawer.auth-drawer .auth-form .captcha-row,
  html:not(.electron-client) #authView#authView:not(.client-login-mode) #authDrawer#authDrawer.auth-drawer .auth-form .code-row {
    grid-template-columns: minmax(0, 1fr) minmax(104px, .42fr) !important;
    max-width: 100% !important;
  }
}
