/* 项目中心、基础设置和项目内部共用的导航增强。业务页面样式不在本文件修改。 */
#app .project-workbench .project-side-global-nav {
  display: grid;
  flex: 0 0 auto;
  gap: 3px;
  max-height: none;
  overflow: visible;
  padding: 8px 10px 6px;
  border-top: 1px solid rgba(255, 255, 255, .18);
}

#app .project-workbench .project-side-global-group {
  display: grid;
  gap: 2px;
  min-width: 0;
}

#app .project-workbench .project-side-global-toggle {
  min-width: 0;
  justify-content: flex-start;
}

#app .project-workbench .project-side-global-toggle b {
  flex: 1 1 auto;
  font: inherit;
}

#app .project-workbench .project-side-global-toggle i {
  flex: 0 0 auto;
  color: currentColor;
  font-size: 13px;
  font-style: normal;
}

#app .project-workbench .project-side-global-body {
  display: grid;
  gap: 2px;
  padding-left: 8px;
}

#app .project-workbench .project-side-global-body[hidden] {
  display: none;
}

#app .project-workbench .project-side-global-child,
#app .project-workbench .project-side-global-utility {
  min-height: 32px;
  padding-left: 24px;
  font-size: 13px;
  font-weight: 400;
}

#app .project-workbench .project-side-global-child > span,
#app .project-workbench .project-side-global-utility > span {
  font-size: 13px;
}

#app .project-workbench .project-side-account {
  position: relative;
  z-index: 4;
  flex: 0 0 auto;
  margin-top: auto;
  padding: 10px 16px 16px;
  border-top: 1px solid rgba(255, 255, 255, .18);
}

#app .project-workbench .project-side-account-trigger {
  display: flex;
  width: 100%;
  min-width: 0;
  align-items: center;
  gap: 10px;
  padding: 8px 4px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #fff;
  text-align: left;
  cursor: pointer;
}

#app .project-workbench .project-side-account-trigger:hover,
#app .project-workbench .project-side-account-trigger[aria-expanded="true"] {
  background: rgba(255, 255, 255, .12);
}

#app .project-workbench .project-side-account-mark {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .62);
  border-radius: 50%;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}

#app .project-workbench .project-side-account-copy {
  display: grid;
  min-width: 0;
  flex: 1 1 auto;
  gap: 3px;
}

#app .project-workbench .project-side-account-copy b {
  overflow: hidden;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#app .project-workbench .project-side-account-copy small {
  color: rgba(255, 255, 255, .74);
  font-size: 11px;
}

#app .project-workbench .project-side-account-copy small i {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 5px;
  border-radius: 50%;
  background: #39d98a;
  vertical-align: 1px;
}

#app .project-workbench .project-side-account-chevron {
  flex: 0 0 auto;
  color: rgba(255, 255, 255, .78);
  font-style: normal;
}

#app .project-workbench .project-side-account-menu {
  position: absolute;
  right: 16px;
  bottom: calc(100% - 4px);
  left: 16px;
  display: grid;
  gap: 2px;
  padding: 6px;
  border: 1px solid #d9e3ef;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(20, 46, 88, .18);
}

#app .project-workbench .project-side-account-menu[hidden] {
  display: none;
}

#app .project-workbench .project-side-account-menu-item {
  min-height: 34px;
  padding: 0 10px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #294566;
  font: 13px/1 "Microsoft YaHei", "Segoe UI", sans-serif;
  text-align: left;
  cursor: pointer;
}

#app .project-workbench .project-side-account-menu-item:hover {
  background: #eef5ff;
  color: #1769e8;
}

#app .project-workbench .project-side-account-menu-item.disabled,
#app .project-workbench .project-side-account-menu-item:disabled {
  color: #a4afbd;
  cursor: not-allowed;
}

#app .project-workbench.project-list-workbench .project-side-nav {
  flex: 0 0 auto;
  min-height: 0;
}

#app .project-workbench:not(.v5-project-upstream-contract) .project-side {
  min-height: 0;
  overflow: hidden;
}

#app .project-workbench:not(.v5-project-upstream-contract) .project-side-nav {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
}

#app .project-workbench.project-list-workbench .project-side-nav {
  flex: 0 0 auto;
  overflow: visible;
}

/* 对上合同 V5 侧栏是浅色容器，沿用同一套结构但使用浅色交互色。 */
#app .project-workbench.v5-project-upstream-contract .project-side-global-nav {
  margin-top: auto;
  border-top-color: #dce5f0;
}

#app .project-workbench.v5-project-upstream-contract .project-side-item {
  color: #435169;
  background: transparent;
  font: 600 13px/1 "Microsoft YaHei", sans-serif;
}

#app .project-workbench.v5-project-upstream-contract .project-side-item:hover,
#app .project-workbench.v5-project-upstream-contract .project-side-item.active {
  color: #1769e8;
  background: #eaf2ff;
}

#app .project-workbench.v5-project-upstream-contract .project-side-account {
  border-top-color: #dce5f0;
}

#app .project-workbench.v5-project-upstream-contract .project-side-account-trigger {
  color: #243852;
}

#app .project-workbench.v5-project-upstream-contract .project-side-account-trigger:hover,
#app .project-workbench.v5-project-upstream-contract .project-side-account-trigger[aria-expanded="true"] {
  background: #f5f8fd;
}

#app .project-workbench.v5-project-upstream-contract .project-side-account-mark {
  border-color: #9fb4d0;
  color: #1769e8;
}

#app .project-workbench.v5-project-upstream-contract .project-side-account-copy b {
  color: #243852;
}

#app .project-workbench.v5-project-upstream-contract .project-side-account-copy small,
#app .project-workbench.v5-project-upstream-contract .project-side-account-chevron {
  color: #718099;
}

@media (max-height: 760px) {
  #app .project-workbench .project-side-global-body {
    gap: 0;
  }

  #app .project-workbench .project-side-global-child,
  #app .project-workbench .project-side-global-utility {
    min-height: 28px;
  }

  #app .project-workbench .project-side-account {
    padding-top: 6px;
    padding-bottom: 8px;
  }
}

/* 两版授权：经营辅助始终显示专业版标识，未开通时在点击入口后统一说明。 */
#app .hcr-vip-badge,
.hcr-professional-notice .hcr-vip-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  height: 16px;
  padding: 0 5px;
  border-radius: 8px;
  background: linear-gradient(135deg, #efad37, #d67a10);
  color: #fff;
  font: 700 8px/1 "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
  box-sizing: border-box;
  flex: 0 0 auto;
  white-space: nowrap;
}

.hcr-professional-notice {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(18, 35, 60, .34);
}

.hcr-professional-notice-card {
  position: relative;
  width: min(390px, 100%);
  padding: 28px;
  border: 1px solid #dbe5f2;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(25, 54, 91, .2);
  text-align: center;
}

.hcr-professional-notice-card h2 {
  margin: 14px 0 8px;
  color: #203a5c;
  font-size: 18px;
}

.hcr-professional-notice-card p {
  margin: 0 0 20px;
  color: #687a92;
  font-size: 13px;
  line-height: 1.7;
}

.hcr-professional-notice-close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: 0;
  background: transparent;
  color: #7a899d;
  font-size: 22px;
  cursor: pointer;
}

#app .license-warning {
  margin-top: 16px;
  padding: 10px 12px;
  border: 1px solid #f2d39a;
  border-radius: 7px;
  background: #fff8e9;
  color: #88550b;
  font-size: 13px;
}

/* 授权状态复用全局工作台外壳，仅调整信息卡的内部排版。 */
#app .license-status-page .license-page-head {
  margin: 27px 0 18px;
}

#app .license-status-page .license-page-head .page-title {
  margin: 0 0 8px;
  color: #171b24;
  font-size: 27px;
  font-weight: 400;
}

#app .license-status-page .license-page-head .page-sub {
  margin: 0;
  color: #7c8798;
  font-size: 13px;
}

#app .license-status-page .license-status-panel {
  padding: 0;
  overflow: hidden;
  border: 1px solid #e2e8f1;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 4px 16px #1949800d;
}

#app .license-status-page .license-status-panel-head {
  display: flex;
  min-height: 88px;
  padding: 20px 22px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid #e3eaf3;
}

#app .license-status-page .license-status-panel-head h2 {
  margin: 0;
  color: #171b24;
  font-size: 18px;
  font-weight: 400;
}

#app .license-status-page .license-status-panel-head p {
  margin: 7px 0 0;
  color: #7c8798;
  font-size: 13px;
}

#app .license-status-page .license-status-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

#app .license-status-page .license-status-item {
  display: grid;
  min-height: 104px;
  padding: 20px 22px;
  align-content: center;
  gap: 9px;
  border-right: 1px solid #e3eaf3;
}

#app .license-status-page .license-status-item:last-child {
  border-right: 0;
}

#app .license-status-page .license-status-item span {
  color: #7c8798;
  font-size: 13px;
}

#app .license-status-page .license-status-item b {
  color: #173a70;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}

#app .license-status-page .license-status-item small {
  color: #8a97a8;
  font-size: 12px;
  line-height: 1.5;
}

#app .license-status-page .license-warning {
  margin: 0 22px 20px;
}

@media (max-width: 980px) {
  #app .license-status-page .license-status-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #app .license-status-page .license-status-item:nth-child(2n) {
    border-right: 0;
  }

  #app .license-status-page .license-status-item {
    border-bottom: 1px solid #e3eaf3;
  }

  #app .license-status-page .license-status-item:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 620px) {
  #app .license-status-page .license-status-panel-head {
    align-items: flex-start;
    flex-direction: column;
  }

  #app .license-status-page .license-status-grid {
    grid-template-columns: 1fr;
  }

  #app .license-status-page .license-status-item,
  #app .license-status-page .license-status-item:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid #e3eaf3;
  }

  #app .license-status-page .license-status-item:last-child {
    border-bottom: 0;
  }
}

/* 账户服务页沿用基础设置页的标准按钮规格。 */
#app .account-service-shell .account-service-empty .btn,
#app .account-service-shell .account-feedback-actions .btn,
#app .account-service-shell .account-service-section-head .btn,
#app .account-service-shell .account-service-cloud-data .form-actions .btn {
  display: inline-flex;
  min-height: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  border: 1px solid #d8e0eb;
  border-radius: 5px;
  background: #fff;
  color: #425168;
  font-family: inherit;
  font-size: 13px;
  font-weight: 400;
  line-height: 1;
  box-shadow: none;
  white-space: nowrap;
}

#app .account-service-shell .account-service-empty .btn:disabled {
  opacity: .6;
  cursor: not-allowed;
}

#app .account-service-shell .account-feedback-actions .btn.primary,
#app .account-service-shell .account-service-section-head .btn.primary,
#app .account-service-shell .account-service-cloud-data .form-actions .btn.primary {
  border-color: #0f57b8;
  background: linear-gradient(180deg, #163e98, #0f57b8);
  color: #fff;
}

/* 数据安全页统一使用常规字重，避免通用表格、按钮规则覆盖页面视觉。 */
#app .account-service-section table thead th,
#app .account-service-section .text-btn,
#app .account-service-section .btn,
#app .account-service-section b,
#app .account-service-section strong {
  font-weight: 400;
}

#app .account-safety-overview {
  margin-top: 14px;
  padding: 14px 0 0;
  border-top: 1px solid #e5ebf3;
}

#app .account-safety-overview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

#app .account-safety-overview-head h3 {
  margin: 0;
  color: #173a70;
  font-size: 16px;
  font-weight: 400;
}

#app .account-safety-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 8px;
  border: 1px solid #e2e9f2;
  border-radius: 7px;
  background: #f8fafd;
}

#app .account-safety-summary > div {
  min-width: 0;
  min-height: 66px;
  padding: 11px 14px;
}

#app .account-safety-summary > div + div {
  border-left: 1px solid #e2e9f2;
}

#app .account-safety-summary span,
#app .account-safety-summary small,
#app .account-safety-path-grid span,
#app .account-safety-path-grid small {
  display: block;
  color: #7b8da8;
  font-size: 12px;
  line-height: 1.5;
}

#app .account-safety-summary b {
  display: block;
  margin: 3px 0 1px;
  overflow: hidden;
  color: #173a70;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#app .account-safety-path-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

#app .account-safety-path-grid > div {
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid #e2e9f2;
  border-radius: 7px;
  background: #fff;
}

#app .account-safety-path-grid .account-safety-path {
  margin-top: 3px;
  overflow-wrap: anywhere;
  color: #506886;
}

@media (max-width: 980px) {
  #app .account-safety-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #app .account-safety-summary > div:nth-child(3) {
    border-left: 0;
    border-top: 1px solid #e2e9f2;
  }

  #app .account-safety-summary > div:nth-child(4) {
    border-top: 1px solid #e2e9f2;
  }
}

@media (max-width: 620px) {
  #app .account-safety-summary,
  #app .account-safety-path-grid {
    grid-template-columns: 1fr;
  }

#app .account-safety-summary > div + div,
#app .account-safety-summary > div:nth-child(3) {
    border-left: 0;
    border-top: 1px solid #e2e9f2;
  }
}

/* 用户与权限页面：沿用统一工作台，列表只保留一个业务容器。 */
#app .workbench.user-management-page .user-management-list {
  min-width: 0;
}

#app .workbench.user-management-page .user-list-panel > .settings-title {
  justify-content: space-between;
}

#app .workbench.user-management-page .settings-add-button {
  display: inline-flex;
  height: 34px;
  min-height: 34px;
  padding: 0 13px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 5px;
  background: linear-gradient(180deg, #163e98, #0f57b8);
  color: #fff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 400;
  white-space: nowrap;
  box-shadow: none;
  cursor: pointer;
}

#app .workbench.user-management-page .settings-add-button:hover {
  background: linear-gradient(180deg, #123889, #0b4da6);
}

#app .workbench.user-management-page .settings-add-button:focus-visible {
  outline: 2px solid rgba(23, 105, 232, .35);
  outline-offset: 2px;
}

#app .workbench.user-management-page .settings-entry-modal {
  width: min(560px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  overflow: auto;
  border: 1px solid #d7e2ef;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 18px 55px rgba(20, 42, 78, .22);
}

#app .workbench.user-management-page .settings-entry-modal-head {
  display: flex;
  min-height: 58px;
  padding: 0 20px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid #e4e9f2;
}

#app .workbench.user-management-page .settings-entry-modal-head h2 {
  margin: 0;
  color: #171b24;
  font-size: 18px;
  font-weight: 400;
}

#app .workbench.user-management-page .settings-entry-fields {
  display: grid;
  padding: 20px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
}

#app .workbench.user-management-page .settings-entry-modal .input {
  min-height: 36px;
  border: 1px solid #d7e0ec;
  border-radius: 5px;
  color: #171b24;
  font-family: inherit;
  font-size: 13px;
  box-shadow: none;
}

#app .workbench.user-management-page .settings-entry-modal .settings-actions {
  display: flex;
  margin: 0;
  padding: 15px 20px 18px;
  justify-content: flex-end;
  gap: 9px;
  border-top: 1px solid #e4e9f2;
}

#app .workbench.user-management-page .settings-entry-modal .settings-actions .btn {
  height: 34px;
  min-height: 34px;
  padding: 0 16px;
  border: 1px solid #d8e0eb;
  border-radius: 5px;
  background: #fff;
  color: #425168;
  font-family: inherit;
  font-size: 13px;
  font-weight: 400;
  box-shadow: none;
}

#app .workbench.user-management-page .settings-entry-modal .settings-actions .btn.primary {
  border: 0;
  background: linear-gradient(180deg, #163e98, #0f57b8);
  color: #fff;
}

#app .workbench.user-management-page .project-workspace,
#app .workbench.user-management-page .project-workspace * {
  font-weight: 400 !important;
}

@media (max-width: 680px) {
  #app .workbench.user-management-page .settings-entry-fields {
    grid-template-columns: 1fr;
  }

  #app .workbench.user-management-page .settings-entry-fields > * {
    grid-column: 1 !important;
  }
}

/* 授权与服务：账户菜单进入后使用与基础设置一致的单页页签布局。 */
#app .account-service-page-head {
  margin-bottom: 14px;
}

#app .account-service-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

#app .account-service-tabs button {
  min-height: 34px;
  padding: 0 16px;
  border: 1px solid #d5e0ef;
  border-radius: 5px;
  background: #fff;
  color: #31527e;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

#app .account-service-tabs button.active {
  border-color: #1457b8;
  background: #1457b8;
  color: #fff;
}

#app .account-service-shell {
  min-width: 0;
}

#app .account-service-section {
  padding: 22px 24px;
  border: 1px solid #d8e3f0;
  border-radius: 9px;
  background: #fff;
  box-shadow: 0 5px 16px rgba(33, 61, 103, .04);
}

#app .account-service-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5ebf3;
}

#app .account-service-section-head h2,
#app .account-service-empty h3,
#app .account-service-migration h3 {
  margin: 0;
  color: #173a70;
  font-size: 18px;
  font-weight: 400;
}

#app .account-service-section-head p,
#app .account-service-empty p,
#app .account-service-note,
#app .account-service-migration li,
#app .account-feedback-result {
  color: #687d9b;
  font-size: 13px;
  line-height: 1.7;
}

#app .account-service-section-head p {
  margin: 5px 0 0;
}

#app .account-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 4px;
}

#app .account-service-grid > div {
  min-height: 92px;
  padding: 18px 20px 14px 0;
  border-bottom: 1px solid #e5ebf3;
}

#app .account-service-grid > div:not(:nth-child(3n + 1)) {
  padding-left: 20px;
  border-left: 1px solid #e5ebf3;
}

#app .account-service-grid span,
#app .account-service-grid small {
  display: block;
  color: #7b8da8;
  font-size: 12px;
  line-height: 1.5;
}

#app .account-service-grid b {
  display: block;
  margin: 5px 0 2px;
  color: #173a70;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}

#app .account-service-warning,
#app .account-service-note {
  margin: 16px 0 0;
  padding: 10px 12px;
  border-radius: 5px;
  background: #f5f8fd;
}

#app .account-service-empty {
  padding: 34px 8px 18px;
  text-align: center;
}

#app .account-service-empty p {
  max-width: 560px;
  margin: 8px auto 18px;
}

#app .account-service-table {
  margin-top: 14px;
}

#app .account-service-table table {
  width: 100%;
}

#app .account-service-table td[data-backup-actions] {
  overflow: visible;
  white-space: normal;
}

#app .account-service-table td[data-backup-actions] .text-btn {
  margin: 2px 3px;
  white-space: nowrap;
}

.recovery-confirm-backdrop {
  z-index: 220;
  align-items: center;
  justify-items: center;
}

.software-confirm-backdrop {
  position: fixed;
  inset: 0;
  z-index: 230;
  display: grid;
  place-items: center;
  padding: 24px 16px;
  background: rgba(23, 42, 70, .34);
}

.software-confirm-modal {
  display: flex;
  width: min(520px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #dbe5f2;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 18px 54px rgba(10, 35, 88, .25);
}

.software-confirm-modal .simulation-modal-head {
  min-height: 58px;
  flex: 0 0 auto;
  padding: 0 20px;
}

.software-confirm-modal .simulation-modal-head h2 {
  color: #173a70;
  font-size: 18px;
  font-weight: 600;
}

.software-confirm-close {
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #71839d;
  font-size: 21px;
  line-height: 1;
  cursor: pointer;
}

.software-confirm-close:hover {
  background: #f0f4f9;
  color: #294566;
}

.software-confirm-body {
  min-height: 0;
  padding: 20px;
  overflow: auto;
}

.software-confirm-message {
  margin: 0;
  color: #425a7d;
  font-size: 14px;
  line-height: 1.75;
  white-space: pre-line;
}

.software-confirm-actions {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 22px;
}

.software-confirm-actions .btn {
  height: 36px;
  min-height: 36px;
  padding: 0 18px;
  border-radius: 5px;
  font-size: 13px;
  font-weight: 400;
  box-shadow: none;
}

.software-confirm-actions .software-confirm-primary {
  border-color: #0f57b8;
  background: #0f57b8;
  color: #fff;
}

.software-confirm-actions .software-confirm-primary:hover {
  border-color: #0b4da6;
  background: #0b4da6;
}

.software-confirm-actions .software-confirm-danger {
  border-color: #d4473f;
  background: #d4473f;
  color: #fff;
}

.software-confirm-actions .software-confirm-danger:hover {
  border-color: #bd3933;
  background: #bd3933;
}

.recovery-confirm-modal {
  width: min(520px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  overflow: hidden;
  border: 1px solid #dbe5f2;
  border-radius: 10px;
  box-shadow: 0 18px 54px rgba(10, 35, 88, .25);
}

.recovery-confirm-modal .simulation-modal-head {
  min-height: 58px;
  padding: 0 20px;
}

.recovery-confirm-modal .simulation-modal-head h2 {
  color: #173a70;
  font-size: 18px;
  font-weight: 600;
}

.recovery-modal-close {
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 5px;
  background: transparent;
  color: #71839d;
  font-size: 21px;
  line-height: 1;
  cursor: pointer;
}

.recovery-modal-close:hover {
  background: #f0f4f9;
  color: #294566;
}

.recovery-confirm-body {
  padding: 20px;
}

.recovery-confirm-message,
.recovery-confirm-note {
  margin: 0;
  color: #425a7d;
  font-size: 13px;
  line-height: 1.7;
}

.recovery-confirm-message {
  padding: 11px 13px;
  border: 1px solid #d8e5f5;
  border-radius: 6px;
  background: #f6f9fd;
}

.recovery-confirm-note {
  margin-top: 14px;
}

.recovery-confirm-modal form {
  padding: 0;
}

.recovery-confirm-modal form label {
  display: grid;
  gap: 7px;
  margin-top: 10px;
  color: #314d75;
  font-size: 13px;
}

.recovery-confirm-modal .input {
  height: 40px;
}

.recovery-confirm-modal .form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 20px;
  padding: 0;
}

.recovery-confirm-modal .form-actions .btn {
  height: 36px;
  min-height: 36px;
  padding: 0 18px;
  border: 1px solid #d8e0eb;
  border-radius: 5px;
  background: #fff;
  color: #425168;
  font-size: 13px;
  font-weight: 400;
  box-shadow: none;
}

.recovery-confirm-modal .form-actions .btn.danger {
  border-color: #d4473f;
  background: #d4473f;
  color: #fff;
}

.recovery-confirm-modal .form-actions .btn.danger:hover {
  border-color: #bd3933;
  background: #bd3933;
}

#app .account-service-migration {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #e5ebf3;
}

#app details.account-service-migration-toggle summary {
  color: #315578;
  font-size: 13px;
  line-height: 1.6;
  cursor: pointer;
  user-select: none;
}

#app details.account-service-migration-toggle[open] summary {
  color: #173a70;
}

#app .account-service-migration ol {
  margin: 9px 0 0;
  padding-left: 22px;
}

#app .account-service-cloud-data p {
  margin: 8px 0 0;
  color: #687d9b;
  font-size: 13px;
  line-height: 1.7;
}

#app .account-service-cloud-data .form-actions {
  justify-content: flex-start;
  margin-top: 14px;
}

#app .account-service-cloud-data label.btn.disabled {
  cursor: not-allowed;
  opacity: .55;
}

#app .account-feedback-form {
  padding-top: 18px;
}

#app .account-feedback-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
  margin-bottom: 14px;
}

#app .account-feedback-form label {
  display: grid;
  gap: 6px;
  color: #415b82;
  font-size: 13px;
}

#app .account-feedback-form textarea {
  min-height: 130px;
  resize: vertical;
}

#app .account-feedback-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
}

#app .account-feedback-result {
  margin: 10px 0 0;
  color: #16754b;
}

#app .settings-users-panel .settings-title > div {
  min-width: 0;
}

@media (max-width: 860px) {
  #app .account-service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #app .account-service-grid > div:not(:nth-child(3n + 1)) {
    padding-left: 0;
    border-left: 0;
  }

  #app .account-service-grid > div:not(:nth-child(2n + 1)) {
    padding-left: 18px;
    border-left: 1px solid #e5ebf3;
  }
}

@media (max-width: 620px) {
  #app .account-service-section {
    padding: 18px 16px;
  }

  #app .account-service-section-head,
  #app .account-feedback-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  #app .account-service-grid,
  #app .account-feedback-fields {
    grid-template-columns: 1fr;
  }

  #app .account-service-grid > div,
  #app .account-service-grid > div:not(:nth-child(2n + 1)) {
    padding: 14px 0;
    border-left: 0;
  }
}
