.welcome-overlay h1 b,
.welcome-overlay small b,
.welcome-bottom b {
  font: inherit;
  color: inherit;
}

.welcome-top-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.welcome-edit {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 11px;
  border: 1px solid #ffffff2e;
  border-radius: 2px;
  background: #071e2a42;
  color: #b9cdcb;
  font: 500 7px "DM Mono", monospace;
  letter-spacing: 1.2px;
  cursor: pointer;
  backdrop-filter: blur(12px);
  transition: border-color .2s, background .2s, color .2s, transform .2s;
}

.welcome-edit span {
  color: #79d8c6;
  font-size: 10px;
}

.welcome-edit:hover,
.welcome-edit:focus-visible {
  border-color: #9ee8db8c;
  background: #ffffff13;
  color: #f2fbf9;
  transform: translateY(-1px);
  outline: none;
}

.welcome-edit.is-saved {
  color: #8be2c8;
  border-color: #6ad2b866;
}

.front-editor {
  width: min(860px, calc(100vw - 32px));
  max-height: min(88vh, 850px);
  padding: 0;
  border: 1px solid #315461;
  border-radius: 4px;
  color: #eaf4f2;
  background: linear-gradient(145deg, #0a2632, #0b3039 63%, #0b2935);
  box-shadow: 0 32px 100px #00101ccc, inset 0 1px #ffffff12;
  overflow: hidden;
}

.front-editor::backdrop {
  background: #01111dde;
  backdrop-filter: blur(9px);
}

.front-editor form {
  max-height: min(88vh, 850px);
  display: flex;
  flex-direction: column;
}

.front-editor-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 25px 29px 22px;
  border-bottom: 1px solid #ffffff1c;
  background: radial-gradient(circle at 80% 0, #2f807044, transparent 40%);
}

.front-editor-head small,
.front-editor-section {
  color: #79cfbf;
  font: 500 8px "DM Mono", monospace;
  letter-spacing: 1.7px;
}

.front-editor-head h2 {
  margin: 7px 0 4px;
  color: #fff;
  font-size: 23px;
  font-weight: 500;
}

.front-editor-head p {
  color: #9db2b3;
  font-size: 11px;
}

.front-editor-close {
  width: 32px;
  height: 32px;
  border: 1px solid #ffffff20;
  border-radius: 50%;
  background: #ffffff0b;
  color: #b8caca;
  font-size: 21px;
  cursor: pointer;
}

.front-editor-close:hover {
  background: #ffffff16;
  color: #fff;
}

.front-editor-body {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  overflow: auto;
}

.front-editor-body section {
  padding: 23px 28px 25px;
  border-right: 1px solid #ffffff18;
  border-bottom: 1px solid #ffffff18;
}

.front-editor-body section:nth-child(2) {
  border-right: 0;
}

.front-editor-body section:nth-child(3) {
  grid-column: 1 / -1;
  border-right: 0;
}

.front-editor-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}

.front-editor-grid.identity-grid {
  grid-template-columns: 95px 1fr;
}

.front-editor-grid.metrics-grid {
  grid-template-columns: repeat(5, 1fr);
}

.front-editor-body label {
  display: block;
  margin-top: 15px;
  color: #aebfc0;
  font-size: 9px;
  font-weight: 700;
}

.front-editor-body input,
.front-editor-body textarea {
  display: block;
  width: 100%;
  margin-top: 7px;
  padding: 10px 11px;
  border: 1px solid #ffffff24;
  border-radius: 3px;
  outline: none;
  background: #041c27b3;
  color: #f0f7f5;
  font: 11px Manrope, sans-serif;
  transition: border-color .2s, box-shadow .2s;
}

.front-editor-body textarea {
  resize: vertical;
  min-height: 75px;
  line-height: 1.5;
}

.front-editor-body input:focus,
.front-editor-body textarea:focus {
  border-color: #72d2c1;
  box-shadow: 0 0 0 3px #4cc2ad17;
}

.front-editor-body label > small {
  display: block;
  margin-top: 5px;
  color: #6f8a8e;
  text-align: right;
  font: 500 7px "DM Mono", monospace;
}

.front-editor-body label > small b {
  color: inherit;
  font: inherit;
}

.front-editor-note {
  margin-top: 15px;
  color: #789194;
  font-size: 9px;
}

.front-editor-actions {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  padding: 16px 28px;
  border-top: 1px solid #ffffff1b;
  background: #061d27;
}

.front-editor-actions .ghost {
  border: 1px solid #ffffff20;
  background: transparent;
  color: #9cb0b1;
}

.front-save {
  min-width: 145px;
  border-radius: 3px;
  background: #bceade;
  color: #064e4d;
}

.front-save:hover {
  background: #dcf6ef;
}

.crumb b {
  font: inherit;
  color: inherit;
}

@media (max-width: 780px) {
  .welcome-top-actions {
    gap: 9px;
  }

  .welcome-edit {
    padding: 8px;
    letter-spacing: .6px;
  }

  .front-editor-body {
    display: block;
  }

  .front-editor-body section {
    border-right: 0;
  }

  .front-editor-grid.metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .welcome-edit {
    width: 31px;
    overflow: hidden;
    white-space: nowrap;
    color: transparent;
    gap: 14px;
  }

  .welcome-edit span {
    flex: 0 0 12px;
  }

  .front-editor {
    width: calc(100vw - 16px);
    max-height: 94vh;
  }

  .front-editor form {
    max-height: 94vh;
  }

  .front-editor-head,
  .front-editor-body section,
  .front-editor-actions {
    padding-left: 18px;
    padding-right: 18px;
  }

  .front-editor-grid,
  .front-editor-grid.identity-grid {
    grid-template-columns: 1fr;
  }
}
