*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--slate-800);
  background: var(--slate-50);
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  min-width: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--slate-50);
  font-weight: 400;
}
body.is-locked {
  overflow: hidden;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button,
a,
input,
select,
textarea,
summary {
  outline: none;
}
summary {
  min-height: 44px;
}
button {
  cursor: pointer;
}
button:disabled,
input:disabled,
select:disabled,
textarea:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}
a {
  color: var(--primary-700);
  text-decoration: none;
}
a:hover {
  text-decoration: none;
}
img,
svg {
  display: block;
  max-width: 100%;
}
svg {
  flex: none;
}
h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd {
  margin-top: 0;
}
dd {
  margin-inline-start: 0;
}
h1,
h2,
h3,
h4,
strong {
  letter-spacing: -0.022em;
}
h1 {
  font-size: clamp(1.6rem, 2vw, 2rem);
  line-height: 1.25;
}
h2 {
  font-size: 1.125rem;
  line-height: 1.35;
}
h3 {
  font-size: 1rem;
  line-height: 1.4;
}
p {
  color: var(--slate-600);
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
dialog {
  color: inherit;
}
:focus-visible {
  box-shadow: var(--focus-ring);
  border-radius: var(--radius-xs);
}
::selection {
  background: var(--primary-200);
  color: var(--primary-900);
}
::placeholder {
  color: var(--slate-400);
  opacity: 1;
}
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 10000;
  transform: translateY(-150%);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--slate-900);
  color: #fff;
  font-weight: 700;
  box-shadow: var(--shadow-lg);
}
.skip-link:focus {
  transform: translateY(0);
}
.ci-icon {
  width: 20px;
  height: 20px;
}
.icon-button {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  flex: 0 0 44px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--slate-600);
  transition:
    background var(--duration-fast),
    color var(--duration-fast),
    border-color var(--duration-fast);
}
.icon-button:hover {
  background: var(--slate-100);
  color: var(--slate-900);
}
.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 15px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  transition:
    transform var(--duration-fast),
    box-shadow var(--duration-fast),
    background var(--duration-fast),
    border-color var(--duration-fast);
}
.button:hover {
  transform: translateY(-1px);
}
.button:active {
  transform: translateY(0);
}
.button-primary {
  background: var(--primary-600);
  border-color: var(--primary-600);
  color: #fff;
  box-shadow: 0 2px 4px rgb(36 85 214/0.2);
}
.button-primary:hover {
  background: var(--primary-700);
  border-color: var(--primary-700);
}
.button-secondary {
  background: var(--surface-raised);
  border-color: var(--slate-300);
  color: var(--slate-700);
}
.button-secondary:hover {
  background: var(--slate-50);
  border-color: var(--slate-400);
}
.button-ghost {
  background: transparent;
  color: var(--slate-600);
}
.button-ghost:hover {
  background: var(--slate-100);
  color: var(--slate-900);
}
.button-danger {
  background: var(--danger-600);
  border-color: var(--danger-600);
  color: var(--on-danger, #fff);
}
.button-danger:hover {
  background: var(--danger-700);
}
.button-block {
  width: 100%;
}
input,
select,
textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-sm);
  background: var(--surface-raised);
  padding: 9px 12px;
  transition:
    border-color var(--duration-fast),
    box-shadow var(--duration-fast),
    background var(--duration-fast);
}
select {
  padding-right: 34px;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--slate-500) 50%),
    linear-gradient(135deg, var(--slate-500) 50%, transparent 50%);
  background-position:
    calc(100% - 17px) 18px,
    calc(100% - 12px) 18px;
  background-size:
    5px 5px,
    5px 5px;
  background-repeat: no-repeat;
  appearance: none;
}
textarea {
  resize: vertical;
  line-height: 1.65;
}
input:hover,
select:hover,
textarea:hover {
  border-color: var(--slate-400);
}
input:focus,
select:focus,
textarea:focus {
  border-color: var(--primary-500);
  box-shadow: var(--focus-ring);
}
input[aria-invalid="true"],
select[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: var(--danger-600);
  box-shadow: 0 0 0 3px rgb(189 41 50/0.15);
}
input[type="checkbox"],
input[type="radio"] {
  width: 18px;
  height: 18px;
  min-height: 18px;
  margin: 0;
  padding: 0;
  accent-color: var(--primary-600);
}
progress {
  overflow: hidden;
  width: 100%;
  height: 8px;
  border: 0;
  border-radius: var(--radius-round);
  background: var(--slate-150);
}
progress::-webkit-progress-bar {
  background: var(--slate-150);
  border-radius: var(--radius-round);
}
progress::-webkit-progress-value {
  background: var(--primary-600);
  border-radius: var(--radius-round);
}
progress::-moz-progress-bar {
  background: var(--primary-600);
  border-radius: var(--radius-round);
}
kbd {
  display: inline-flex;
  min-height: 22px;
  align-items: center;
  padding: 1px 6px;
  border: 1px solid var(--slate-300);
  border-bottom-width: 2px;
  border-radius: 5px;
  background: var(--slate-50);
  color: var(--slate-600);
  font: 600 0.75rem/1 var(--font-sans);
}
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
@media (forced-colors: active) {
  .button,
  .icon-button,
  input,
  select,
  textarea,
  .panel,
  .form-card {
    border: 1px solid ButtonText;
  }
  .presence-dot,
  .calendar-color,
  .kanban-dot {
    forced-color-adjust: none;
  }
}
.segmented-tabs [aria-pressed="true"] {
  background: var(--surface-raised);
  color: var(--primary-700);
  box-shadow: var(--shadow-xs);
}
.search-type-tabs [aria-pressed="true"] {
  border-color: var(--primary-600);
  color: var(--primary-700);
}
@media (max-width: 900px) {
  .sidebar-scrim {
    left: var(--sidebar-width) !important;
  }
}
@media (max-width: 720px) {
  .table-card.is-card-view .data-table tbody {
    grid-template-columns: 1fr !important;
    padding: 0 !important;
    background: #fff !important;
  }
}
.kanban-list {
  margin: 0;
  padding: 0 7px 7px;
  list-style: none;
}
.kanban-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--slate-150);
  color: var(--slate-500);
  font-size: 0.75rem;
}
.kanban-card__footer > span:not(.avatar) {
  display: flex;
  align-items: center;
  gap: 3px;
}
.kanban-card__footer .ci-icon {
  width: 12px;
}
.document-editor__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  border-top: 1px solid var(--slate-200);
  background: var(--surface-raised);
  color: var(--slate-500);
  font-size: 0.75rem;
}
.document-editor__footer span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.document-editor__footer .ci-icon {
  width: 13px;
}
@media (max-width: 720px) {
  .document-editor__footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
}
