.auth-notice {
  margin: 0 0 20px;
  padding: 12px 14px;
  border: 1px solid;
  border-radius: 8px;
  font-weight: 600;
  line-height: 1.5;
}

.auth-notice-success {
  color: #14532d;
  background: #ecfdf3;
  border-color: #a6d9b7;
}

.auth-notice-error {
  color: #842b2b;
  background: #fff4f2;
  border-color: #e8b8b0;
}

.panel-close,
.crm-drawer > header > .icon-button,
.rules-manager > header > .icon-button,
.import-guide > header > .icon-button {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  color: #344054;
  font-size: 32px;
  line-height: 1;
}

.support-link {
  text-decoration: none;
}

.lookup-field > label {
  display: grid;
  gap: 8px;
}

.lookup-results button:focus-visible {
  background: #f2f1ff;
  outline: 2px solid #635bff;
  outline-offset: -2px;
}

.phone-search-form {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 24px;
}

.phone-search-form .form-field {
  flex: 0 1 400px;
}

.more-actions-trigger {
  justify-content: center;
  width: 42px;
  min-height: 36px;
  padding: 0;
  color: #344054;
  font-size: 25px;
  line-height: 1;
}

.more-actions-popover {
  position: fixed;
  inset: auto;
  width: 150px;
  margin: 0;
  padding: 5px;
  border: 1px solid #e0e4eb;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 24px #18203224;
}

.more-actions-item {
  display: block;
  width: 100%;
  min-height: 36px;
  padding: 6px 10px;
  border: 0;
  border-radius: 5px;
  background: #fff;
  color: #344054;
  text-align: left;
  font: inherit;
  font-size: 14px;
}

.more-actions-item:hover,
.more-actions-item:focus-visible {
  background: #f1f3fa;
}

.more-actions-danger {
  color: #a12735;
}

.password-input { position: relative; }
.password-input input { width: 100%; padding-right: 46px; }
.password-toggle {
  position: absolute;
  inset: 0 2px 0 auto;
  display: grid;
  place-items: center;
  width: 42px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}
.password-toggle:hover { color: var(--ink); }
.password-eye-slash { display: none; }
.password-visible .password-eye-slash { display: block; }
.button-spinner {
  display: inline-block;
  flex: 0 0 1em;
  width: 1em;
  height: 1em;
  margin-inline-end: 6px;
  border: 2px solid currentColor;
  border-inline-end-color: transparent;
  border-radius: 50%;
  vertical-align: -0.15em;
  animation: button-spin .75s linear infinite;
}
@keyframes button-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .button-spinner { animation: none; } }
.toast {
  font-size: 15px;
  line-height: 1.45;
  padding: 15px 20px;
  min-width: min(230px, calc(100vw - 32px));
  max-width: min(490px, calc(100vw - 32px));
}
.users-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 18px; }
.users-heading p { margin: 0; color: var(--muted); }
.settings-layout:has(.invite-table) { grid-template-columns: 190px minmax(0, 1fr); }
.invite-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.invite-email { overflow-wrap: anywhere; }
.launcher-icon-actions { gap: 0; }
.launcher-icon-button, .invite-close {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  color: #3c4756;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}
.launcher-icon-button:hover, .invite-close:hover { color: var(--purple); background: var(--pale); }
.launcher-icon-button { background: transparent; border-color: transparent; }
.cross-icon::before {
  content: '';
  display: block;
  width: 24px;
  height: 24px;
  background-color: currentColor;
  mask: url('./close.svg') center / contain no-repeat;
}
.cross-icon:is([data-remove-rule], [data-delete-rule])::before { width: 18px; height: 18px; }
.launcher-icon-button[data-sign-out]:hover { color: #ac2222; background: #fff0f0; }
.launcher-header:has(.launcher-icon-button) { margin-bottom: 46px; }
.launcher-welcome h1 { margin-bottom: 0; }
.apps-section-heading { margin-top: 32px; }
.launcher-footer { justify-content: flex-start; flex-wrap: wrap; gap: 5px 10px; }
.launcher-footer .support-link { display: inline-flex; align-items: center; gap: 6px; }

.invite-panel {
  position: fixed;
  inset: 0 0 0 auto;
  margin: 0;
  width: min(460px, 100%);
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  padding: 0;
  border: 0;
  color: var(--ink);
  box-shadow: -16px 0 45px #17203325;
}
.invite-panel::backdrop, .sign-out-confirmation::backdrop { background: #20293966; }
.invite-panel form { height: 100%; display: flex; flex-direction: column; }
.invite-panel-header, .invite-panel footer { display: flex; align-items: center; padding: 20px 28px; gap: 10px; }
.invite-panel-header { justify-content: space-between; border-bottom: 1px solid var(--line); }
.invite-panel-header h2, .sign-out-confirmation h2 { margin: 0; font: 700 23px Manrope, sans-serif; }
.invite-fields { display: flex; flex-direction: column; gap: 20px; padding: 24px 28px; overflow-y: auto; flex: 1; }
.invite-fields .auth-field { margin: 0; }
.invite-panel footer { justify-content: flex-end; border-top: 1px solid var(--line); }
.invite-error { margin: 0; color: #ac2222; }
.sign-out-confirmation {
  width: min(420px, calc(100vw - 32px));
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  box-shadow: 0 24px 64px #2029392e;
}
.sign-out-confirmation p { margin: 10px 0 0; line-height: 1.55; }
.sign-out-confirmation footer { display: flex; gap: 10px; justify-content: flex-end; margin-top: 24px; }
.more-actions-trigger[aria-busy] { width: auto; padding-inline: 7px; font-size: 12px; }

.record-activity-day {
  padding: 12px 0;
  border-bottom: 1px solid #e2e6ec;
}

.record-activity-day .activity-day-heading {
  margin: 0;
}

.record-activity-day ul {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
}

.record-activity-day li {
  display: flex;
  gap: 12px;
  padding: 4px 0;
}

.record-activity-day li time {
  flex: 0 0 80px;
  color: #5b6676;
  font-size: 13px;
}

.record-activity-day li span {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
