#app .project-side-brand.company-brand-header {
  display: flex !important;
  min-height: 88px;
  padding: 14px 20px !important;
  align-items: center;
  gap: 12px;
  white-space: normal;
}

#app .company-brand-logo {
  position: relative;
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  overflow: hidden;
  place-items: center;
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 8px;
  background: #fff;
  color: #1b5db4;
  margin-top: 0 !important;
}

#app .company-brand-logo img,
#app .company-brand-logo svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

#app .company-brand-logo [data-company-logo-placeholder] {
  display: grid !important;
  margin: 0 !important;
  color: #1b5db4 !important;
  place-items: center;
}

#app .company-brand-logo svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
}

#app .company-brand-logo img[hidden],
#app .company-brand-logo [data-company-logo-placeholder][hidden] {
  display: none !important;
}

#app .project-side-brand-copy {
  display: grid !important;
  min-width: 0;
  gap: 5px;
}

#app .project-side-brand-copy > b {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: #fff;
  font-size: 17px !important;
  font-weight: 400;
  line-height: 1.35;
  white-space: normal;
  overflow-wrap: anywhere;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

#app .project-side-brand-copy > span {
  margin: 0 !important;
  color: rgba(255,255,255,.72);
  font-size: 12px !important;
  font-weight: 400;
  line-height: 1.3;
}

#app .project-side-account-mark.company-brand-logo {
  width: 34px;
  height: 34px;
  flex-basis: 34px;
  border-radius: 50%;
}

.company-branding-panel {
  display: grid;
  grid-template-columns: minmax(0,1fr) 300px;
  overflow: hidden;
  border: 1px solid #dbe4f0;
  border-radius: 10px;
  background: #fff;
}

.company-branding-panel.branding-assets-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  overflow: visible;
  border: 0;
  background: transparent;
}

.branding-asset-card {
  display: grid;
  min-width: 0;
  overflow: hidden;
  grid-template-rows: minmax(205px, 1fr) auto;
  border: 1px solid #dbe4f0;
  border-radius: 10px;
  background: #fff;
}

.branding-asset-card-main {
  display: flex;
  min-width: 0;
  min-height: 205px;
  padding: 24px;
  align-items: center;
  gap: 20px;
}

.branding-asset-card-actions {
  display: grid;
  min-height: 142px;
  padding: 18px 24px;
  align-content: center;
  gap: 9px;
  border-top: 1px solid #e2e8f1;
  border-left: 0;
  background: #f8faff;
}

.branding-asset-card-actions .btn {
  width: 100%;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid #d8e0eb;
  border-radius: 5px;
  background: #fff;
  color: #425168;
  font-family: inherit;
  font-size: 13px;
  font-weight: 400;
  cursor: pointer;
}

.branding-asset-card-actions .btn.primary {
  border-color: #0f57b8;
  background: #0f57b8;
  color: #fff;
}

.branding-asset-card-actions small {
  color: #74839a;
  font-size: 12px;
  line-height: 1.6;
}

.company-branding-main {
  display: flex;
  min-height: 250px;
  padding: 30px;
  align-items: center;
  gap: 24px;
}

.branding-asset-card-main.company-branding-main {
  min-height: 205px;
  padding: 24px;
}

#app .user-avatar {
  position: relative;
  display: grid;
  overflow: hidden;
  place-items: center;
  border: 1px solid #c9daf2;
  border-radius: 50%;
  background: #edf4ff;
  color: #245daa;
  font-size: 15px;
  font-weight: 700;
}

#app .user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#app .user-avatar img[hidden],
#app .user-avatar [data-user-avatar-placeholder][hidden] {
  display: none !important;
}

#app .project-side-account-mark.user-avatar {
  width: 36px !important;
  height: 36px !important;
  flex: 0 0 36px !important;
  border-color: rgba(255, 255, 255, .72) !important;
  background: #edf4ff;
}

#app .user-avatar [data-user-avatar-placeholder] {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: #1557b7;
  font-weight: 400;
}

#app .project-side-account-mark.user-avatar [data-user-avatar-placeholder] {
  color: #1557b7;
}

.company-user-avatar-preview {
  display: grid;
  gap: 8px;
  justify-items: center;
}

#app .company-user-avatar-mark {
  width: 112px;
  height: 112px;
  font-size: 32px;
  box-shadow: 0 8px 24px rgba(27, 70, 126, .1);
}

.company-user-avatar-preview > span:last-child,
.company-user-avatar-copy small,
.company-user-avatar-actions small {
  color: #718099;
  font-size: 12px;
  line-height: 1.6;
}

.company-user-avatar-copy h2 {
  margin: 0 0 6px;
  color: #172640;
  font-size: 20px;
  font-weight: 400;
}

.company-user-avatar-copy p {
  margin: 0 0 4px;
  color: #718099;
  font-size: 12px;
  line-height: 1.6;
}

.company-user-avatar-actions {
  display: grid;
  gap: 10px;
}

.company-user-avatar-actions .btn {
  height: 34px;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid #d8e0eb;
  border-radius: 5px;
  background: #fff;
  color: #425168;
  font-family: inherit;
  font-size: 13px;
  cursor: pointer;
}

.company-user-avatar-actions .btn.primary {
  border-color: #0f57b8;
  background: #0f57b8;
  color: #fff;
}

#app .company-branding-preview .company-brand-logo {
  width: 112px !important;
  height: 112px !important;
  flex-basis: 112px;
  border-color: #d8e2ef;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(27,70,126,.1);
}

#app .company-branding-preview .company-brand-logo svg {
  width: 64px;
  height: 64px;
}

.company-branding-preview {
  display: grid;
  gap: 9px;
  justify-items: center;
}

.company-branding-preview-label {
  color: #718099;
  font-size: 12px;
  font-weight: 400;
}

.company-branding-copy h2 {
  margin: 0 0 8px;
  color: #172640;
  font-size: 20px;
  font-weight: 400;
}

.company-branding-copy p,
.company-branding-copy small {
  display: block;
  margin: 0;
  color: #718099;
  font-size: 13px;
  line-height: 1.7;
}

.company-branding-actions {
  display: grid;
  padding: 26px;
  align-content: center;
  gap: 10px;
  border-left: 1px solid #e2e8f1;
  background: #f8faff;
}

.company-branding-actions .btn {
  width: 100%;
  height: 34px;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid #d8e0eb;
  border-radius: 5px;
  background: #fff;
  color: #425168;
  font-family: inherit;
  font-size: 13px;
  font-weight: 400;
  box-shadow: none;
}

.company-branding-actions .btn.primary {
  border-color: #0f57b8;
  background: #0f57b8;
  color: #fff;
}

.company-branding-actions small {
  color: #74839a;
  font-size: 12px;
  line-height: 1.6;
}

.branding-asset-card-actions.company-branding-actions {
  padding: 18px 24px;
  border-top: 1px solid #e2e8f1;
  border-left: 0;
}

.company-logo-crop-dialog {
  position: fixed;
  z-index: 1300;
  inset: 0;
  display: grid;
  padding: 24px;
  place-items: center;
  background: rgba(17,30,49,.55);
}

.company-logo-crop-panel {
  width: min(680px,calc(100vw - 32px));
  overflow: hidden;
  border: 1px solid #d8e2ef;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(10,29,56,.28);
}

.company-logo-crop-panel > header,
.company-logo-crop-panel > footer {
  display: flex;
  padding: 18px 22px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #e6ebf2;
}

.company-logo-crop-panel > header h2,
.company-logo-crop-panel > header p {
  margin: 0;
}

.company-logo-crop-panel > header h2 {
  color: #172640;
  font-size: 18px;
  font-weight: 400;
}

.company-logo-crop-panel > header p {
  margin-top: 5px;
  color: #718099;
  font-size: 12px;
}

.company-logo-crop-panel > header button {
  border: 0;
  background: transparent;
  color: #718099;
  font-size: 25px;
  cursor: pointer;
}

.company-logo-mode {
  display: flex;
  padding: 16px 22px 0;
  gap: 8px;
}

.company-logo-mode button,
.company-logo-crop-panel > footer button,
.company-logo-crop-body aside button {
  display: inline-flex;
  min-height: 36px;
  padding: 0 14px;
  align-items: center;
  justify-content: center;
  border: 1px solid #d8e0eb;
  border-radius: 6px;
  background: #fff;
  color: #425168;
  font: 400 14px/1 var(--hcr-nav-font-family);
  white-space: nowrap;
  box-shadow: none;
  cursor: pointer;
}

.company-logo-mode button.active,
.company-logo-crop-panel > footer button.primary {
  border-color: #0f57b8;
  background: linear-gradient(180deg, #163e98, #0f57b8);
  color: #fff;
}

.company-logo-mode button:not(.active):hover,
.company-logo-crop-panel > footer button:not(.primary):hover,
.company-logo-crop-body aside button:hover {
  border-color: #9db9e6;
  background: #f7faff;
  color: #145fc9;
}

.company-logo-mode button.active:hover,
.company-logo-crop-panel > footer button.primary:hover {
  border-color: #0b4da6;
  background: linear-gradient(180deg, #123889, #0b4da6);
}

.company-logo-mode button:focus-visible,
.company-logo-crop-panel > footer button:focus-visible,
.company-logo-crop-body aside button:focus-visible {
  outline: 2px solid rgba(23, 105, 232, .35);
  outline-offset: 2px;
}

.company-logo-crop-body {
  display: grid;
  padding: 18px 22px 22px;
  grid-template-columns: 320px minmax(0,1fr);
  gap: 26px;
  align-items: center;
}

.company-logo-crop-body > div {
  display: grid;
  gap: 8px;
  color: #718099;
  font-size: 12px;
  text-align: center;
}

.company-logo-crop-canvas {
  width: 320px;
  height: 320px;
  border: 1px solid #cfd9e7;
  border-radius: 8px;
  background-color: #f5f7fa;
  background-image: linear-gradient(45deg,#e9edf3 25%,transparent 25%),linear-gradient(-45deg,#e9edf3 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#e9edf3 75%),linear-gradient(-45deg,transparent 75%,#e9edf3 75%);
  background-position: 0 0,0 8px,8px -8px,-8px 0;
  background-size: 16px 16px;
  cursor: grab;
  touch-action: none;
}

.company-logo-crop-canvas.dragging {
  cursor: grabbing;
}

.company-logo-crop-body aside {
  display: grid;
  gap: 14px;
  color: #52647d;
  font-size: 13px;
}

.company-logo-crop-body aside canvas {
  width: 48px;
  height: 48px;
  border: 1px solid #d2dce9;
  border-radius: 8px;
}

.company-logo-crop-body aside label {
  display: grid;
  gap: 8px;
}

.company-logo-crop-panel > footer {
  justify-content: flex-end;
  border-top: 1px solid #e6ebf2;
  border-bottom: 0;
}

@media (max-width: 760px) {
  .company-branding-panel,
  .company-logo-crop-body {
    grid-template-columns: 1fr;
  }
  .company-branding-panel.branding-assets-grid {
    grid-template-columns: 1fr;
  }
  .company-branding-actions {
    border-top: 1px solid #e2e8f1;
    border-left: 0;
  }
  .company-logo-crop-body {
    justify-items: center;
  }
}
