/* Source: Prototypes/CoreKitly-Zen-Messages.css — shared toast/inline messages. */
.ck-message-stack,
.ck-message {
  --ck-message-ink: var(--ck-ink, #334155);
  --ck-message-muted: var(--ck-muted, #657285);
  --ck-message-line: var(--ck-line, #e2e7ed);
  --ck-message-focus: var(--ck-focus, #497dad);
  font-family: inherit;
  box-sizing: border-box;
}
.ck-message-stack {
  position: fixed;
  top: calc(var(--ck-header-height, 64px) + 16px + env(safe-area-inset-top, 0px));
  right: max(24px, env(safe-area-inset-right, 0px));
  z-index: var(--ck-toast-z-index, 1080);
  width: min(350px, calc(100vw - 32px));
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}
.ck-message {
  --ck-message-accent: #2f725d;
  --ck-message-tint: #edf6f1;
  position: relative;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 32px;
  align-items: start;
  gap: 10px;
  padding: 14px 12px 14px 16px;
  margin: 0;
  border: 1px solid var(--ck-message-line);
  border-radius: 12px;
  background: #fff;
  color: var(--ck-message-ink);
  box-shadow: 0 8px 28px rgba(32, 48, 67, .08), 0 2px 6px rgba(32, 48, 67, .025);
  pointer-events: auto;
  animation: ck-message-enter 180ms cubic-bezier(.2,.7,.3,1) both;
}
.ck-message *, .ck-message *::before, .ck-message *::after { box-sizing: border-box; }
.ck-message--success { --ck-message-accent:#2f725d; --ck-message-tint:#edf6f1; }
.ck-message--info    { --ck-message-accent:#45698f; --ck-message-tint:#edf3fa; }
.ck-message--warning { --ck-message-accent:#896124; --ck-message-tint:#faf4e9; }
.ck-message--error   { --ck-message-accent:#a04444; --ck-message-tint:#fcf0f0; }
.ck-message__icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--ck-message-tint);
  color: var(--ck-message-accent);
}
.ck-message svg {
  display: block;
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.ck-message__content { min-width:0; align-self:center; }
.ck-message .ck-message__title {
  margin: 0;
  color: var(--ck-message-ink);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}
.ck-message .ck-message__text {
  margin: 3px 0 0;
  color: var(--ck-message-muted);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.55;
  overflow-wrap: anywhere;
}
.ck-message button.ck-message__close {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  min-height: 32px;
  min-width: 32px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: #657285;
  cursor: pointer;
  box-shadow: none;
  font-weight: 400;
  justify-content: center;
  transition: color 140ms ease, background 140ms ease;
}
.ck-message .ck-message__close:hover { color:#334155; background:#f0f3f7; }
.ck-message button.ck-message__action {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  width: auto;
  margin: 5px 0 -4px;
  padding: 0 2px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--ck-navy, #123e72);
  line-height: 1.5;
  font-family: inherit;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  box-shadow: none;
}
.ck-message :is(button, a):focus-visible {
  outline: 2px solid var(--ck-message-focus);
  outline-offset: 3px;
}
.ck-message--inline {
  width: 100%;
  box-shadow: none;
  border-radius: 9px;
  background: #fafbfc;
  margin-bottom: 18px;
}
.ck-message--inline.ck-message--error { background:#fffafa; border-color:#ecdcdc; }
.ck-message--inline.ck-message--warning { background:#fffdf8; border-color:#e9e0ce; }
.ck-message--inline:not(:has(.ck-message__close)) { grid-template-columns:28px minmax(0,1fr); }
.ck-message.is-leaving { animation:ck-message-leave 140ms ease both; pointer-events:none; }
.ck-message .ck-message__sr {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip-path: inset(50%);
  white-space: nowrap; border: 0;
}
@keyframes ck-message-enter {
  from { opacity:0; transform:translateY(-6px); }
  to { opacity:1; transform:translateY(0); }
}
@keyframes ck-message-leave {
  from { opacity:1; transform:translateY(0); }
  to { opacity:0; transform:translateY(-4px); }
}
@media (max-width:600px) {
  .ck-message-stack {
    right: max(16px, env(safe-area-inset-right, 0px));
    left: max(16px, env(safe-area-inset-left, 0px));
    width: auto;
    top: calc(var(--ck-header-height, 60px) + 12px + env(safe-area-inset-top, 0px));
  }
}
@media (prefers-reduced-motion:reduce) {
  .ck-message, .ck-message.is-leaving { animation:none; }
  .ck-message .ck-message__close { transition:none; }
}

/* Source: reach-studio.css .ck-progress. One writing overlay for every page. */
.ck-progress {
  position: fixed;
  inset: 0;
  z-index: 17000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(15, 23, 42, 0.45);
}
.ck-progress-card {
  width: min(420px, 100%);
  padding: 28px 24px 22px;
  border: 1px solid #e2e7ed;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.28);
  text-align: center;
  color: #334155;
}
.ck-progress-spin {
  width: 36px;
  height: 36px;
  margin: 0 auto 14px;
  border: 3px solid #d7e4f5;
  border-top-color: #123e72;
  border-radius: 50%;
  animation: ck-progress-spin 0.7s linear infinite;
}
.ck-progress.is-done .ck-progress-spin,
.ck-progress.is-error .ck-progress-spin { animation: none; border-color: #123e72; }
.ck-progress-card h2 {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 500;
  color: #293d53;
  letter-spacing: 0;
}
.ck-progress-card p {
  margin: 0;
  font-size: 12px;
  line-height: 1.55;
  font-weight: 400;
  color: #657285;
}
.ck-progress-card button.btn,
.ck-progress-card .btn {
  min-height: 32px;
  height: 32px;
  width: auto;
  margin: 16px auto 0;
  font-size: 12px;
}
@keyframes ck-progress-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .ck-progress-spin { animation: none; }
}
