:root {
  --color-page: #f5f6f8;
  --color-surface: #ffffff;
  --color-surface-muted: #f1f2f4;
  --color-text: #111827;
  --color-muted: #6b7280;
  --color-border: #d9dde3;
  --color-accent: #DCFF58;
  --color-dark: #111111;
  --color-success: #4caf50;
  --color-warning: #ff9800;
  --color-danger: #f44336;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 999px;
}

* {
  box-sizing: border-box;
}

html,
body,
body * {
  -webkit-user-select: none;
  user-select: none;
}

input,
textarea,
select,
option,
[contenteditable="true"],
[contenteditable="plaintext-only"],
.allow-text-selection,
.allow-text-selection *,
.ql-editor,
.ql-editor * {
  -webkit-user-select: text;
  user-select: text;
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", sans-serif;
  color: var(--color-text);
  background: var(--color-page);
}

body.app-loading-overlay-open {
  overflow: hidden;
}

body.communication-objectives-help-open {
  overflow: hidden;
}

.communication-objectives-help {
  width: min(660px, calc(100vw - 28px));
  max-width: none;
  max-height: calc(100vh - 18px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: #f4f6fa;
  color: #303847;
  box-shadow: 0 24px 70px rgba(17, 24, 39, 0.3);
  overflow: hidden;
}

.communication-objectives-help::backdrop {
  background: rgba(20, 24, 31, 0.56);
}

.communication-objectives-help__panel {
  position: relative;
  max-height: calc(100vh - 18px);
  padding: 40px 48px 42px;
  overflow-y: auto;
}

.communication-objectives-help__close {
  position: absolute;
  top: 19px;
  right: 22px;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: #9aa6b8;
  font-size: 31px;
  font-weight: 300;
  line-height: 1;
}

.communication-objectives-help__close:hover,
.communication-objectives-help__close:focus-visible {
  color: #545f71;
  outline: 0;
}

.communication-objectives-help h2 {
  max-width: 460px;
  margin: 0 auto 30px;
  color: #303847;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-align: center;
}

.communication-objectives-help h2 span {
  display: block;
}

.communication-objectives-help__columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 44px;
}

.communication-objectives-help__column {
  display: grid;
  align-content: start;
  gap: 12px;
}

.communication-objectives-help__example h3 {
  margin: 0 0 2px;
  color: #303847;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
}

.communication-objectives-help__example p {
  margin: 0;
  color: #303847;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.28;
}

@media (max-width: 700px) {
  .communication-objectives-help {
    width: min(520px, calc(100vw - 20px));
    max-height: calc(100vh - 20px);
    border-radius: 14px;
  }

  .communication-objectives-help__panel {
    max-height: calc(100vh - 20px);
    padding: 42px 28px 32px;
  }

  .communication-objectives-help h2 {
    margin-bottom: 26px;
    font-size: 28px;
  }

  .communication-objectives-help__columns {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .communication-objectives-help__column {
    gap: 12px;
  }
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  min-width: 10px;
  min-height: 10px;
  flex: 0 0 10px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: #cbd5e1;
}

.dot.green {
  background: var(--color-success);
}

.dot.orange {
  background: var(--color-warning);
}

.dot.red {
  background: var(--color-danger);
}

.dot.gray {
  background: #b9c0cb;
}

.app-loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 4000;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}

.app-loading-overlay[hidden] {
  display: none;
}

.app-loading-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.app-loading-overlay__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(245, 246, 248, 0.82);
  backdrop-filter: blur(6px);
}

.app-loading-overlay__content {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 24px;
}

.app-loading-overlay__spinner {
  width: min(132px, 34vw);
  animation: app-loading-overlay-spin 1.35s linear infinite;
  transform-origin: center;
}

.app-loading-overlay__spinner svg {
  display: block;
  width: 100%;
  height: auto;
}

.app-loading-overlay__label {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--color-text);
}

@keyframes app-loading-overlay-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}
