:root {
  --primary: #6150a3;
  --accent: #bd684c;
  --background: #f5f4f0;
  --surface: #fff;
  --text: #242237;
  --muted: #706c80;
  --sidebar: #252237;
  --sidebar-text: #f5f2ff;
  --border: #e7e4ed;
  --button: #eae7f5;
  font-family: Inter, "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--background);
  font-synthesis: none;
  font-size: 14px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 15px;
  background: var(--button, var(--surface));
  color: var(--text);
  font-weight: 550;
  transition:
    background 0.15s,
    box-shadow 0.15s;
}
button:hover {
  background: color-mix(in srgb, var(--primary) 10%, var(--button, var(--surface)));
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}
svg {
  width: 19px;
  height: 19px;
  stroke: currentColor;
  stroke-width: 1.6;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
a {
  color: var(--primary);
  text-decoration: none;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font-size: 30px;
  font-weight: 650;
  letter-spacing: -1.1px;
  line-height: 1.25;
}
h2 {
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.4px;
}
h3 {
  font-size: 14px;
  font-weight: 650;
}
p {
  line-height: 1.65;
}
small {
  font-size: 11px;
}
.muted {
  color: var(--muted);
}
.small-copy {
  font-size: 12px;
}
.eyebrow {
  display: block;
  font-size: 10px;
  letter-spacing: 1.9px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 11px;
}
.primary {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 3px 8px #2422370a;
}
.primary:hover {
  background: color-mix(in srgb, var(--primary) 90%, #000);
}
.wide {
  width: 100%;
  padding: 13px 18px;
}
.text-button {
  background: none;
  border: 0;
  padding: 5px 0;
  color: var(--primary);
  font-size: 12px;
  box-shadow: none;
}
.text-button:hover {
  background: none;
  text-decoration: underline;
}
.icon-button {
  width: 34px;
  height: 34px;
  padding: 7px;
  flex: none;
  border-color: transparent;
  background: transparent;
}
.danger {
  color: #a3443e;
}
.subtle {
  background: none;
  border: 0;
}
.selected-button {
  color: var(--primary);
  border-color: var(--primary);
}
.initial-loading,
.loading {
  padding: 80px;
  text-align: center;
  color: var(--muted);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
}
.brandmark {
  display: inline-flex;
  width: 32px;
  height: 32px;
}
.brandmark img {
  width: 100%;
  height: 100%;
}
.brandname {
  font-size: 29px;
  letter-spacing: -1.6px;
  font-weight: 750;
}
.brandname span {
  font-size: 9px;
  vertical-align: top;
  display: inline-block;
  margin: 6px 0 0 3px;
  letter-spacing: 0;
}
.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--avatar) 16%, white);
  color: var(--avatar);
  font-size: 11px;
  font-weight: 750;
  border: 2px solid var(--surface);
  letter-spacing: 0.2px;
}
.avatar.small {
  width: 31px;
  height: 31px;
  font-size: 10px;
}
.avatar.tiny {
  width: 27px;
  height: 27px;
  font-size: 9px;
}
.avatar.large {
  width: 64px;
  height: 64px;
  font-size: 20px;
  border-width: 3px;
}
.avatar-stack {
  display: flex;
  padding-left: 9px;
}
.avatar-stack .avatar {
  margin-left: -8px;
}
.app-layout {
  display: flex;
  min-height: 100vh;
}
.sidebar {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  width: 236px;
  background: var(--sidebar);
  color: var(--sidebar-text);
  padding: 29px 17px 14px;
  display: flex;
  flex-direction: column;
  z-index: 20;
  overflow-y: auto;
}
.sidebar > .brand {
  margin: 0 14px 31px;
}
.sidebar .brandmark img {
  filter: saturate(0.8);
}
.company-switch {
  padding: 11px 8px;
  justify-content: flex-start;
  background: color-mix(in srgb, var(--sidebar-text) 7%, var(--sidebar));
  color: var(--sidebar-text);
  border: 1px solid color-mix(in srgb, var(--sidebar-text) 12%, var(--sidebar));
  margin: 0 1px 29px;
  gap: 9px;
  text-align: left;
}
.company-switch > span:nth-child(2) {
  min-width: 0;
  flex: 1;
}
.company-switch strong,
.company-switch small {
  display: block;
}
.company-switch strong {
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 550;
}
.company-switch small {
  font-size: 10px;
  opacity: 0.62;
  margin-top: 4px;
}
.company-switch svg {
  width: 13px;
  height: 13px;
  opacity: 0.7;
}
.company-monogram {
  height: 30px;
  width: 30px;
  background: #c5b7e4;
  border-radius: 7px;
  color: #38304a;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  font-size: 10px;
  font-weight: 800;
}
.nav-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 9px;
  letter-spacing: 1.5px;
  font-weight: 600;
  color: color-mix(in srgb, var(--sidebar-text) 48%, var(--sidebar));
  padding: 0 12px;
  margin-bottom: 9px;
}
.nav-item {
  width: 100%;
  justify-content: flex-start;
  border: 0;
  background: none;
  color: color-mix(in srgb, var(--sidebar-text) 76%, var(--sidebar));
  font-size: 12px;
  padding: 11px 13px;
  border-radius: 7px;
  margin: 2px 0;
  gap: 12px;
  font-weight: 450;
}
.nav-item svg {
  width: 17px;
  height: 17px;
  opacity: 0.85;
}
.nav-item:hover {
  background: color-mix(in srgb, var(--sidebar-text) 8%, var(--sidebar));
}
.nav-item.active {
  background: color-mix(in srgb, var(--sidebar-text) 14%, var(--sidebar));
  color: var(--sidebar-text);
  font-weight: 600;
}
.nav-count {
  font-size: 10px;
  background: color-mix(in srgb, var(--sidebar-text) 10%, var(--sidebar));
  padding: 1px 6px;
  border-radius: 4px;
  margin-left: auto;
}
.project-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  flex: none;
  background: var(--project);
}
.sidebar-bottom {
  margin-top: auto;
}
.profile {
  display: flex;
  align-items: center;
  gap: 9px;
  border-top: 1px solid
    color-mix(in srgb, var(--sidebar-text) 10%, var(--sidebar));
  padding: 17px 4px 0;
  margin-top: 11px;
}
.profile .avatar {
  border-color: transparent;
}
.profile > span:nth-child(2) {
  flex: 1;
  min-width: 0;
}
.profile strong,
.profile small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.profile strong {
  font-size: 11px;
  font-weight: 500;
}
.profile small {
  font-size: 9px;
  opacity: 0.55;
  margin-top: 5px;
}
.profile .icon-button {
  color: var(--sidebar-text);
  width: 28px;
}
.profile svg {
  width: 15px;
}
.main {
  margin-left: 236px;
  min-width: 0;
  flex: 1;
}
.topbar {
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 37px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  gap: 15px;
}
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  color: var(--muted);
  min-width: 0;
}
.breadcrumbs svg {
  width: 12px;
  height: 12px;
  color: #b2adbc;
}
.breadcrumbs strong {
  color: var(--text);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 10px;
  color: var(--muted);
  flex: none;
}
.today-label {
  text-transform: capitalize;
}
.environment {
  display: flex;
  align-items: center;
  gap: 7px;
}
.environment > span {
  width: 5px;
  height: 5px;
  background: #7f9580;
  border-radius: 50%;
}
.content {
  padding: 35px 37px 26px;
  max-width: 1700px;
  margin: auto;
  min-height: calc(100vh - 130px);
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 27px;
}
.page-heading .eyebrow {
  font-size: 9px;
  letter-spacing: 1.8px;
  margin-bottom: 9px;
}
.page-heading p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 9px;
  max-width: 680px;
}
.heading-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  flex: none;
}
.heading-actions .primary {
  font-size: 11px;
  padding: 11px 15px;
}
.heading-actions svg {
  width: 16px;
  height: 16px;
}
.overview-quick-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}
.overview-quick-actions button {
  font-size: 11px;
  padding: 11px 15px;
  white-space: nowrap;
}
@media (max-width: 900px) {
  .page-heading:has(.overview-quick-actions) {
    flex-wrap: wrap;
  }
  .heading-actions:has(.overview-quick-actions) {
    flex: 1 1 100%;
  }
}
.page-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 37px 22px;
  color: var(--muted);
  font-size: 9px;
  border-top: 1px solid var(--border);
}
.page-footer > span {
  font-size: 8px;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  opacity: 0.8;
}
.overview-banner {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #eae6f1;
  border: 1px solid #dfd9e8;
  border-radius: 12px;
  padding: 30px 34px;
  overflow: hidden;
  color: #373044;
  min-height: 220px;
}
.overview-banner .eyebrow {
  color: #776986;
  font-size: 8px;
  letter-spacing: 1.7px;
  margin-bottom: 12px;
}
.overview-banner h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  line-height: 1.2;
  font-weight: 400;
  letter-spacing: -0.7px;
}
.overview-banner p {
  font-size: 11px;
  margin-top: 13px;
  color: #756b7d;
}
.banner-link {
  padding: 0;
  border: 0;
  background: none !important;
  font-size: 10px;
  margin-top: 16px;
  color: #615178;
}
.banner-link svg {
  width: 15px;
  height: 15px;
}
.banner-visual {
  width: 240px;
  height: 190px;
  margin-right: 35px;
  flex: none;
}
.banner-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.company-logo-preview {
  display: grid;
  place-items: center;
  height: 160px;
  padding: 12px;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 10px;
  margin: 12px 0;
}
.company-logo-preview img {
  display: block;
  max-width: 100%;
  max-height: 134px;
  object-fit: contain;
}
.company-logo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
#company-logo-card {
  margin-bottom: 20px;
}
#company-logo-card [hidden] {
  display: none !important;
}
#company-logo-card input[type="file"] {
  width: 100%;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 15px;
  margin: 22px 0 33px;
}
.stat {
  position: relative;
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 21px 20px;
  border-radius: 10px;
}
.stat-icon {
  position: absolute;
  right: 17px;
  top: 19px;
  padding: 8px;
  border-radius: 9px;
  background: #f0edf6;
  color: #796692;
  display: flex;
}
.stat-icon.clay {
  background: #f7eee8;
  color: #b58366;
}
.stat-icon svg {
  width: 16px;
  height: 16px;
}
.stat > strong {
  display: block;
  font-size: 29px;
  font-weight: 600;
  letter-spacing: -1px;
}
.stat h3 {
  font-size: 11px;
  font-weight: 550;
  margin-top: 12px;
}
.stat p {
  font-size: 9px;
  color: var(--muted);
  margin-top: 5px;
}
.dashboard-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(250px, 1fr);
  gap: 27px;
  align-items: start;
}
.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 18px;
}
.section-title h2 {
  font-size: 15px;
}
.section-title h2 > span {
  font-size: 10px;
  background: var(--border);
  padding: 2px 6px;
  border-radius: 5px;
  margin-left: 6px;
  font-weight: 500;
}
.section-title > .text-button {
  font-size: 10px;
}
.section-title > .text-button svg {
  width: 13px;
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 19px;
}
.project-grid.compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.project-card {
  border: 1px solid var(--border);
  border-radius: 11px;
  background: var(--surface);
  padding: 21px;
  min-width: 0;
  transition: box-shadow 0.2s;
}
.project-card:hover {
  box-shadow: 0 4px 16px #25223707;
}
.project-card-top {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 19px;
}
.project-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: var(--project);
  background: color-mix(in srgb, var(--project) 11%, var(--surface));
  border-radius: 10px;
}
.project-icon svg {
  width: 18px;
  height: 18px;
}
.project-state {
  font-size: 9px;
  background: #edf3ef;
  color: #597563;
  padding: 4px 7px;
  border-radius: 4px;
  margin-left: auto;
}
.project-state.paused {
  background: #f6efdf;
  color: #8b7033;
}
.project-state.completed {
  background: #ede9f6;
  color: #655284;
}
.project-card-top .icon-button {
  height: 22px;
  width: 22px;
  padding: 3px;
}
.project-card-top .icon-button svg {
  width: 15px;
}
.project-card-title {
  font-size: 14px;
  padding: 0;
  border: 0;
  background: none !important;
  font-weight: 650;
  justify-content: flex-start;
  text-align: left;
  line-height: 1.4;
}
.project-card-title:hover {
  color: var(--primary);
}
.project-card > p {
  font-size: 10px;
  color: var(--muted);
  margin-top: 9px;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 34px;
}
.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: var(--muted);
  margin-top: 24px;
  margin-bottom: 8px;
}
.progress-label strong {
  color: var(--text);
  font-weight: 500;
}
.progress-track {
  height: 4px;
  border-radius: 9px;
  background: var(--border);
  overflow: hidden;
}
.progress-track > span {
  display: block;
  height: 100%;
  border-radius: 9px;
}
.project-card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 5px;
  margin-top: 17px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 9px;
  color: var(--muted);
}
.project-card-bottom > span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.project-card-bottom svg {
  width: 12px;
  height: 12px;
}
.activity-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 11px;
  padding: 20px;
}
.activity-panel .section-title > svg {
  width: 15px;
  color: var(--muted);
}
.activity-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--border) 65%, var(--surface));
}
.activity-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.activity-symbol {
  height: 25px;
  width: 25px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
  color: var(--muted);
}
.activity-symbol svg {
  width: 12px;
  height: 12px;
}
.activity-item p {
  font-size: 10px;
  line-height: 1.6;
}
.activity-item p strong {
  font-weight: 600;
}
.activity-item div > span {
  display: block;
  font-size: 9px;
  line-height: 1.6;
  color: var(--muted);
  margin-top: 4px;
  overflow-wrap: anywhere;
}
.activity-item small {
  display: block;
  font-size: 8px;
  color: var(--muted);
  opacity: 0.8;
  margin-top: 6px;
}
.empty {
  grid-column: 1/-1;
  text-align: center;
  border: 1px dashed var(--border);
  padding: 50px 25px;
  border-radius: 10px;
  color: var(--muted);
  background: var(--surface);
}
.empty > svg {
  height: 31px;
  width: 31px;
  margin-bottom: 14px;
  color: var(--primary);
  opacity: 0.7;
}
.empty h3 {
  color: var(--text);
  font-size: 16px;
  margin-bottom: 9px;
}
.empty p {
  font-size: 12px;
}
.small-empty {
  font-size: 11px;
  padding: 25px 10px;
  border: 0;
}
.board-tabs {
  display: flex;
  align-items: center;
  gap: 22px;
  border-bottom: 1px solid var(--border);
  margin-top: 30px;
}
.board-tabs > button {
  background: none;
  border: 0;
  border-radius: 0;
  padding: 10px 1px 15px;
  color: var(--muted);
  font-size: 11px;
  position: relative;
  gap: 7px;
}
.board-tabs > button svg {
  width: 15px;
  height: 15px;
}
.board-tabs > button.active {
  color: var(--primary);
  font-weight: 650;
}
.board-tabs > button.active:after {
  content: "";
  position: absolute;
  height: 2px;
  left: 0;
  right: 0;
  bottom: -1px;
  background: var(--primary);
  border-radius: 4px;
}
.board-tabs-note {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-left: auto;
  font-size: 9px;
  color: var(--muted);
}
.board-toolbar {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 20px 0 24px;
}
.search-field {
  display: flex;
  align-items: center;
  position: relative;
  max-width: 250px;
  flex: 1;
}
.search-field > svg {
  position: absolute;
  left: 11px;
  width: 14px;
  height: 14px;
  color: var(--muted);
}
.search-field input {
  padding: 9px 10px 9px 32px;
  height: 35px;
  font-size: 10px;
  background: var(--surface);
}
.board-toolbar select {
  width: auto;
  max-width: 175px;
  font-size: 10px;
  height: 35px;
  padding: 6px 25px 6px 10px;
  background-color: var(--surface);
}
.board-toolbar > button {
  height: 35px;
  padding: 7px 10px;
  font-size: 10px;
  color: var(--muted);
}
.board-toolbar > button svg {
  width: 14px;
  height: 14px;
}
.board-toolbar > button:last-child {
  margin-left: auto;
}
.task-group {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 9px;
  margin-bottom: 22px;
  overflow: hidden;
}
.group-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 15px 14px;
  border-left: 3px solid var(--group);
}
.group-heading h2 {
  display: flex;
  gap: 9px;
  align-items: center;
  color: var(--group);
  font-size: 12px;
  font-weight: 650;
}
.group-heading h2 > span:last-child {
  color: var(--muted);
  font-size: 9px;
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  border-radius: 5px;
  background: var(--background);
  padding: 2px 6px;
}
.group-heading .text-button {
  font-size: 9px;
  color: var(--muted);
}
.group-heading .text-button svg {
  width: 13px;
  height: 13px;
}
.group-chevron {
  display: flex;
}
.group-chevron svg {
  width: 12px;
  height: 12px;
}
.table-scroll {
  overflow-x: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  font-size: 10px;
  min-width: 890px;
}
th {
  font-weight: 450;
  background: color-mix(in srgb, var(--background) 65%, var(--surface));
  height: 32px;
  color: var(--muted);
  font-size: 9px;
  white-space: nowrap;
}
td,
th {
  border-top: 1px solid var(--border);
  border-right: 1px solid color-mix(in srgb, var(--border) 62%, var(--surface));
  padding: 8px 10px;
}
th:last-child,
td:last-child {
  border-right: 0;
}
td {
  height: 46px;
}
tbody tr:hover {
  background: color-mix(in srgb, var(--primary) 2%, var(--surface));
}
.check-cell {
  width: 29px;
  max-width: 29px;
  padding: 8px 10px;
}
.check-cell input {
  height: 11px;
  width: 11px;
  accent-color: var(--primary);
  margin: 0;
}
.task-name {
  min-width: 265px;
  max-width: 350px;
  width: 31%;
}
td.task-name {
  position: relative;
  padding-right: 40px;
}
.task-name button {
  font-size: 10px;
  border: 0;
  background: none;
  padding: 0;
  text-align: left;
  justify-content: flex-start;
  gap: 9px;
  font-weight: 450;
  min-height: 24px;
}
.task-name button > span:nth-child(2) {
  line-height: 1.5;
  word-break: break-word;
}
.task-name button small {
  display: block;
  color: var(--muted);
  font-size: 8px;
}
.task-outline {
  height: 12px;
  width: 12px;
  display: inline-block;
  border: 1px solid var(--border);
  border-radius: 50%;
  flex: none;
}
.task-done {
  height: 12px;
  width: 12px;
  display: inline-flex;
  color: #719381;
  flex: none;
}
.task-done svg {
  width: 12px;
  height: 12px;
}
.row-meta {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 3px;
  color: var(--muted);
  font-size: 8px;
}
.row-meta svg {
  width: 11px;
  height: 11px;
}
.person-select {
  width: 100%;
  min-width: 100px;
  max-width: 145px;
  border: 0;
  background: transparent !important;
  padding: 4px 0;
  font-size: 9px;
  color: var(--muted);
  cursor: pointer;
}
.person-select + .avatar {
  display: none;
}
.status-select {
  border: 0;
  font-size: 9px;
  min-width: 90px;
  width: 100%;
  height: 26px;
  border-radius: 4px;
  padding: 3px 8px;
  text-align: center;
  cursor: pointer;
  font-weight: 550;
}
.status-todo {
  background: #f0eef2;
  color: #747080;
}
.status-progress {
  background: #f5ecdc;
  color: #8b6c2e;
}
.status-review {
  background: #ede8f5;
  color: #7a5c9e;
}
.status-done {
  background: #e6efeb;
  color: #4d7969;
}
.status-blocked {
  background: #f5e7e3;
  color: #a45f54;
}
.priority-select {
  border: 0;
  background: transparent !important;
  font-size: 9px;
  min-width: 65px;
  max-width: 85px;
  cursor: pointer;
  padding: 4px 1px;
}
.priority-low {
  color: #8b8798;
}
.priority-normal {
  color: #777080;
}
.priority-high {
  color: #a9723f;
}
.priority-urgent {
  color: #a85555;
}
.inline-date {
  border: 0;
  padding: 2px 0;
  width: 109px;
  min-width: 109px;
  font-size: 9px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
}
.inline-date::-webkit-calendar-picker-indicator {
  opacity: 0.4;
  width: 11px;
}
.inline-date:disabled {
  opacity: 0.7;
}
.overdue {
  color: #af6258 !important;
}
.estimate-cell {
  text-align: center;
  font-size: 9px;
  color: var(--muted);
  white-space: nowrap;
}
.tag {
  display: inline-block;
  padding: 3px 7px;
  border-radius: 4px;
  background: #f0edf4;
  color: #7e6e91;
  font-size: 8px;
  white-space: nowrap;
  max-width: 110px;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: middle;
}
td > .icon-button {
  padding: 3px;
  width: 20px;
  height: 20px;
  color: var(--muted);
}
td > .icon-button svg {
  width: 14px;
}
.table-empty {
  text-align: center;
  color: var(--muted);
  font-size: 10px;
  height: 55px;
}
.add-group {
  border: 1px dashed var(--border);
  background: none;
  color: var(--muted);
  font-size: 11px;
  padding: 10px 15px;
}
.add-group svg {
  width: 14px;
}
.selection-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 13px;
  background: color-mix(in srgb, var(--primary) 8%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--primary) 30%, var(--surface));
  border-radius: 8px;
  margin-bottom: 15px;
  font-size: 11px;
}
.selection-bar button {
  font-size: 10px;
  padding: 6px 10px;
}
.selection-bar button:last-child {
  margin-left: auto;
  background: none;
  border: 0;
  padding: 3px;
}
.selection-bar svg {
  width: 15px;
}
.kanban {
  display: grid;
  grid-template-columns: repeat(5, minmax(225px, 1fr));
  gap: 14px;
  overflow-x: auto;
  align-items: start;
  min-height: 400px;
  padding-bottom: 16px;
}
.kanban-column {
  background: color-mix(in srgb, var(--border) 38%, var(--background));
  padding: 13px 10px;
  border-radius: 10px;
  min-height: 300px;
}
.kanban-heading {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 3px 12px;
}
.kanban-heading h2 {
  font-size: 10px;
  flex: 1;
}
.kanban-heading > span:not(.status-dot) {
  font-size: 9px;
  color: var(--muted);
}
.kanban-heading .icon-button {
  width: 22px;
  height: 22px;
  padding: 3px;
}
.kanban-heading svg {
  width: 13px;
}
.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
}
.status-dot.status-todo {
  background: #a9a3b3;
}
.status-dot.status-progress {
  background: #bb985a;
}
.status-dot.status-review {
  background: #987db1;
}
.status-dot.status-done {
  background: #759d8b;
}
.status-dot.status-blocked {
  background: #c1877c;
}
.kanban-card {
  padding: 14px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 10px;
  box-shadow: 0 2px 2px #25223703;
}
.kanban-card[draggable="true"] {
  cursor: grab;
}
.kanban-card:active {
  cursor: grabbing;
}
.card-tags {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 11px;
  flex-wrap: wrap;
}
.priority-label {
  margin-left: auto;
  font-size: 8px;
}
.card-title {
  padding: 0;
  border: 0;
  background: none !important;
  text-align: left;
  font-size: 11px;
  line-height: 1.6;
  font-weight: 600;
  justify-content: flex-start;
  display: block;
}
.kanban-card > p {
  font-size: 9px;
  line-height: 1.65;
  color: var(--muted);
  margin-top: 8px;
}
.kanban-card-bottom {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-top: 11px;
  margin-top: 10px;
  border-top: 1px solid var(--border);
  font-size: 8px;
  color: var(--muted);
}
.kanban-card-bottom > span:not(.avatar) {
  display: flex;
  align-items: center;
  gap: 4px;
}
.kanban-card-bottom .avatar {
  margin-left: auto;
}
.kanban-card-bottom svg {
  width: 11px;
  height: 11px;
}
.kanban-empty {
  color: var(--muted);
  font-size: 9px;
  text-align: center;
  padding-top: 17px;
}
.subtask-progress {
  height: 3px;
  background: var(--border);
  border-radius: 5px;
  margin: 14px 0;
}
.subtask-progress > span {
  height: 100%;
  background: var(--primary);
  display: block;
  border-radius: 5px;
}
.view-hint {
  font-size: 10px;
  color: var(--muted);
  margin-top: 15px;
}
.calendar-toolbar {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}
.calendar-toolbar h2 {
  text-transform: capitalize;
  font-size: 16px;
}
.calendar-toolbar #calendar-prev svg {
  transform: rotate(180deg);
}
.calendar-toolbar > button:last-child {
  font-size: 10px;
  padding: 6px 12px;
  margin-left: auto;
}
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  border-left: 1px solid var(--border);
  border-top: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  min-width: 770px;
  background: var(--surface);
}
.calendar-scroll {
  overflow-x: auto;
}
.calendar-day-name {
  font-size: 10px;
  padding: 10px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--background);
  color: var(--muted);
  text-align: center;
}
.calendar-day {
  padding: 9px;
  min-height: 106px;
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
}
.calendar-day.outside {
  background: color-mix(in srgb, var(--background) 70%, var(--surface));
  color: var(--muted);
}
.calendar-number {
  font-size: 10px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-bottom: 5px;
}
.calendar-day.today .calendar-number {
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
}
.calendar-task {
  font-size: 8px;
  display: block;
  width: 100%;
  padding: 5px 6px;
  border: 0;
  text-align: left;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  border-radius: 4px;
  margin-top: 3px;
  font-weight: 500;
}
.calendar-task:hover {
  filter: brightness(0.96);
}
#task-pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding-top: 18px;
  color: var(--muted);
  font-size: 10px;
}
#task-pagination > div {
  display: flex;
  align-items: center;
  gap: 13px;
}
#task-pagination button {
  font-size: 10px;
  padding: 7px 11px;
}
.team-summary {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 11px;
  color: var(--muted);
  padding: 17px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 9px;
  margin-bottom: 24px;
}
.team-summary > svg {
  color: var(--primary);
  width: 17px;
}
.team-summary strong {
  color: var(--text);
  font-weight: 550;
}
.team-summary span {
  margin-left: auto;
  font-size: 10px;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 19px;
}
.person-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 11px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 26px 18px 0;
  min-width: 0;
}
.person-role {
  font-size: 8px;
  padding: 4px 8px;
  margin-top: 14px;
  background: var(--background);
  border-radius: 5px;
  color: var(--muted);
}
.person-card h3 {
  font-size: 13px;
  margin-top: 13px;
}
.person-card h3 small {
  font-size: 9px;
  font-weight: 400;
  color: var(--muted);
}
.person-card > p {
  font-size: 10px;
  color: var(--muted);
  margin-top: 5px;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.person-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  border-top: 1px solid var(--border);
  padding: 12px 0;
  margin-top: 24px;
  font-size: 9px;
  color: var(--muted);
}
.person-card.inactive {
  opacity: 0.6;
}
.settings-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(260px, 1fr);
  gap: 24px;
  align-items: start;
}
.settings-card {
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 11px;
}
.settings-card > p {
  font-size: 11px;
  margin-bottom: 20px;
}
.settings-divider {
  border-top: 1px solid var(--border);
  margin: 26px 0;
}
.palette-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
  margin: 20px 0;
}
.color-control {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}
.color-control input[type="color"] {
  width: 34px;
  height: 34px;
  padding: 2px;
  border-radius: 7px;
  flex: none;
  border: 1px solid var(--border);
}
.color-control > span {
  font-size: 9px;
  line-height: 1.5;
}
.color-control small {
  display: block;
  font-size: 8px;
  color: var(--muted);
  letter-spacing: 0.3px;
}
.privacy-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 23px 10px;
  color: var(--muted);
}
.privacy-note > svg {
  width: 18px;
  color: #739881;
}
.privacy-note strong {
  font-size: 11px;
  font-weight: 550;
  color: var(--text);
}
.privacy-note p {
  font-size: 10px;
  margin-top: 6px;
}
.settings-card .section-title > svg {
  width: 19px;
  color: var(--muted);
}
label {
  display: block;
  font-size: 11px;
  font-weight: 550;
  margin: 0 0 17px;
}
input,
select,
textarea {
  display: block;
  width: 100%;
  color: var(--text);
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 7px;
  padding: 10px 12px;
  line-height: 1.4;
  font-size: 12px;
}
label > input,
label > select,
label > textarea {
  margin-top: 7px;
}
input::placeholder,
textarea::placeholder {
  color: color-mix(in srgb, var(--muted) 75%, var(--surface));
  font-weight: 400;
}
textarea {
  resize: vertical;
  min-height: 68px;
  line-height: 1.6;
}
input[type="color"] {
  width: 65px;
  padding: 3px;
  height: 37px;
}
input[type="checkbox"] {
  width: 14px;
  height: 14px;
  accent-color: var(--primary);
  padding: 0;
  cursor: pointer;
}
label > small {
  display: block;
  font-size: 9px;
  font-weight: 400;
  color: var(--muted);
  margin-top: 6px;
  line-height: 1.6;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 18px;
}
.form-error {
  font-size: 11px;
  color: #ab4949;
  line-height: 1.6;
  margin: 10px 0;
  white-space: pre-wrap;
}
.form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-top: 20px;
}
.form-actions button {
  font-size: 11px;
}
fieldset {
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
fieldset:disabled input,
fieldset:disabled textarea,
fieldset:disabled select {
  background: var(--background);
  opacity: 0.8;
}
dialog {
  border: 1px solid var(--border);
  border-radius: 15px;
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 15px 90px #17132430;
  padding: 28px;
  width: 540px;
  max-width: calc(100vw - 30px);
  max-height: 90vh;
  overflow: auto;
}
dialog::backdrop {
  background: #24203255;
  backdrop-filter: blur(2px);
}
.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}
.modal-header h2 {
  font-size: 22px;
  line-height: 1.35;
}
.modal-header .eyebrow {
  font-size: 8px;
  margin-bottom: 8px;
}
.modal-header .icon-button {
  margin: -5px -5px 0 0;
  color: var(--muted);
}
dialog > p {
  font-size: 12px;
  margin-bottom: 20px;
}
dialog.drawer {
  margin: 0 0 0 auto;
  height: 100dvh;
  max-height: 100dvh;
  width: 575px;
  border-radius: 15px 0 0 15px;
  border-right: 0;
  padding: 30px;
}
.drawer .modal-header h2 {
  font-size: 22px;
}
.task-detail-context {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  color: var(--muted);
  margin: -4px 0 25px;
  flex-wrap: wrap;
}
.detail-section {
  border-top: 1px solid var(--border);
  padding-top: 22px;
  margin-top: 25px;
}
.detail-section h3 {
  font-size: 13px;
  margin-bottom: 12px;
}
.detail-section > .small-copy {
  margin-top: -5px;
  margin-bottom: 17px;
}
.detail-section .section-title h3 {
  margin: 0;
}
.detail-section .section-title > span {
  font-size: 10px;
  color: var(--muted);
}
.subtask {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 400;
}
.subtask input {
  margin: 0;
}
.subtask.done > span {
  text-decoration: line-through;
  color: var(--muted);
}
.inline-form {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.inline-form input {
  flex: 1;
  min-width: 120px;
}
.inline-form .form-error {
  width: 100%;
  margin: 0;
}
.comment {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}
.comment > div {
  flex: 1;
  min-width: 0;
}
.comment strong {
  font-size: 10px;
}
.comment small {
  font-size: 8px;
  margin-left: 9px;
  color: var(--muted);
}
.comment p {
  background: var(--background);
  border: 1px solid var(--border);
  padding: 12px;
  border-radius: 0 9px 9px 9px;
  font-size: 11px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin-top: 7px;
}
.detail-section form {
  margin-top: 20px;
}
.detail-section form button {
  font-size: 11px;
}
.detail-section .activity-item p {
  font-size: 10px;
}
.drawer > #archive-task {
  margin-top: 22px;
}
#toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translate(-50%, 20px);
  background: #302c40;
  color: #fff;
  font-size: 12px;
  padding: 14px 20px;
  border-radius: 9px;
  box-shadow: 0 5px 30px #24223722;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s;
  z-index: 1000;
  max-width: calc(100vw - 30px);
  line-height: 1.5;
}
#toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
.mobile-menu {
  display: none;
}
.auth {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  min-height: 100vh;
  background: var(--surface);
}
.auth-story {
  background: #0b1020;
  padding: 42px 65px 30px;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 760px;
  color: #edf1ff;
}
.auth-story > .brand {
  align-self: flex-start;
}
.auth-story > .eyebrow {
  margin-top: 85px;
  font-size: 9px;
  color: #a6b1c9;
  letter-spacing: 2px;
}
.auth-story h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 57px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -2px;
  margin: 13px 0 23px;
}
.auth-story h1 em {
  font-weight: 400;
  color: #77c7ff;
}
.auth-story > p {
  font-size: 13px;
  color: #a6b1c9;
  line-height: 1.85;
}
.auth-art {
  height: 180px;
  position: relative;
  width: 95%;
  margin-top: 37px;
  max-width: 430px;
}
.art-card {
  background: #121a2c;
  border: 1px solid #27324b;
  border-radius: 9px;
  box-shadow: 0 8px 22px #00000026;
  padding: 19px 16px;
  display: flex;
  align-items: center;
  font-size: 11px;
  gap: 10px;
  position: relative;
  transform: rotate(-3deg);
}
.art-card.offset {
  margin: 16px -20px 0 25px;
  transform: rotate(2deg);
}
.art-card > span:last-child {
  margin-left: auto;
  background: #3a2c1c;
  color: #f7b56b;
  padding: 4px 7px;
  font-size: 8px;
  border-radius: 4px;
}
.art-card.offset > span:last-child {
  background: #183b36;
  color: #78d5c1;
}
.art-dot {
  width: 7px;
  height: 7px;
  background: #77c7ff;
  border-radius: 50%;
  flex: none;
}
.art-dot.clay {
  background: #f7b56b;
}
.art-line {
  position: absolute;
  width: 85px;
  height: 85px;
  left: -25px;
  top: 30px;
  border-left: 1px dashed #3f5875;
  border-bottom: 1px dashed #3f5875;
  border-radius: 0 0 0 20px;
}
.art-note {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 13px;
  color: #a6b1c9;
  margin-top: 25px;
  text-align: right;
}
.auth-story footer {
  margin-top: auto;
  font-size: 8px;
  letter-spacing: 2px;
  color: #a6b1c9;
  padding-top: 50px;
}
.auth-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px;
}
.auth-form {
  max-width: 350px;
  width: 100%;
}
.auth-form > .eyebrow {
  font-size: 9px;
  color: var(--accent);
  margin-bottom: 20px;
}
.auth-form h2 {
  font-size: 27px;
  line-height: 1.4;
  letter-spacing: -0.8px;
}
.auth-form > .muted {
  font-size: 11px;
  margin: 14px 0 30px;
  line-height: 1.8;
}
.auth-form form label {
  font-size: 11px;
  margin-bottom: 19px;
}
.auth-form input,
.auth-form select {
  height: 43px;
  font-size: 12px;
}
.auth-form form .primary {
  margin-top: 4px;
  font-size: 12px;
}
.auth-form form .primary svg {
  margin-left: auto;
  width: 16px;
  height: 16px;
}
.auth-switch {
  font-size: 11px;
  text-align: center;
  color: var(--muted);
  margin-top: 24px;
}
.auth-switch .text-button {
  font-size: 11px;
  margin-left: 4px;
  font-weight: 650;
}
.auth-security {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 9px;
  color: var(--muted);
  margin-top: 40px;
}
.auth-security svg {
  color: #779380;
  width: 13px;
  height: 13px;
}
.connection-error {
  padding: 80px 30px;
  max-width: 600px;
  margin: auto;
  text-align: center;
}
.connection-error .brandmark {
  margin: auto;
}
.connection-error h1 {
  margin-top: 25px;
}
.connection-error p {
  margin: 20px 0;
}
.connection-error .brandname {
  display: block;
}
@media (min-width: 1600px) {
  .content {
    padding: 42px 48px;
  }
  .overview-banner {
    min-height: 240px;
  }
  .project-card {
    padding: 24px;
  }
  .stat {
    padding: 24px;
  }
  .topbar {
    padding: 0 48px;
  }
  .dashboard-columns {
    gap: 30px;
  }
  .auth-story {
    padding-left: 100px;
  }
  .auth-story h1 {
    font-size: 66px;
  }
  .auth-form {
    max-width: 380px;
  }
}
@media (max-width: 1200px) {
  .sidebar {
    width: 215px;
    padding-left: 12px;
    padding-right: 12px;
  }
  .main {
    margin-left: 215px;
  }
  .content {
    padding: 28px 25px;
  }
  .topbar {
    padding: 0 25px;
  }
  .topbar-right {
    gap: 14px;
  }
  .environment {
    display: none;
  }
  .page-heading h1 {
    font-size: 26px;
  }
  .page-heading p {
    font-size: 11px;
  }
  .banner-visual {
    margin-right: 0;
    width: 200px;
  }
  .dashboard-columns {
    grid-template-columns: minmax(0, 1.7fr) minmax(230px, 1fr);
    gap: 18px;
  }
  .project-card {
    padding: 17px;
  }
  .project-card-title {
    font-size: 12px;
  }
  .project-card-top {
    gap: 6px;
  }
  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .team-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .board-toolbar {
    gap: 7px;
  }
  .board-toolbar select {
    max-width: 145px;
  }
  .settings-card {
    padding: 20px;
  }
  .palette-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .settings-columns {
    gap: 17px;
    grid-template-columns: minmax(0, 1.35fr) minmax(250px, 1fr);
  }
  .auth-story {
    padding: 40px;
  }
  .auth-story h1 {
    font-size: 49px;
  }
  .auth-panel {
    padding: 40px;
  }
}
@media (max-width: 980px) {
  .dashboard-columns {
    grid-template-columns: 1fr;
  }
  .activity-panel {
    display: none;
  }
  .overview-banner {
    padding: 25px;
  }
  .overview-banner h2 {
    font-size: 27px;
  }
  .overview-banner p {
    max-width: 310px;
  }
  .banner-visual {
    width: 170px;
  }
  .stat-grid {
    gap: 10px;
  }
  .stat {
    padding: 17px 14px;
  }
  .stat-icon {
    padding: 6px;
    right: 12px;
    top: 16px;
  }
  .stat-icon svg {
    width: 13px;
    height: 13px;
  }
  .stat > strong {
    font-size: 25px;
  }
  .stat h3 {
    font-size: 9px;
  }
  .stat p {
    font-size: 8px;
  }
  .heading-actions .avatar-stack {
    display: none;
  }
  .page-heading {
    gap: 15px;
  }
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .settings-columns {
    grid-template-columns: 1fr;
  }
  .palette-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .auth-story {
    padding: 35px;
    min-height: 700px;
  }
  .auth-story h1 {
    font-size: 42px;
  }
  .auth-story > .eyebrow {
    margin-top: 80px;
    font-size: 8px;
  }
  .auth-panel {
    padding: 30px;
  }
  .auth-form h2 {
    font-size: 24px;
  }
  .auth-art {
    width: 90%;
  }
  .art-card {
    font-size: 9px;
    padding: 17px 12px;
  }
  .auth-story > p {
    font-size: 12px;
  }
}
@media (max-width: 760px) {
  .sidebar {
    transform: translateX(-100%);
    width: 236px;
    box-shadow: 15px 0 30px #24223722;
    transition: transform 0.2s;
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .main {
    margin-left: 0;
  }
  .topbar {
    padding: 0 18px;
    height: 60px;
    gap: 7px;
  }
  .mobile-menu {
    display: inline-flex;
  }
  .breadcrumbs {
    font-size: 9px;
    gap: 6px;
    flex: 1;
  }
  .topbar-right .today-label {
    display: none;
  }
  .content {
    padding: 25px 18px;
  }
  .page-heading {
    align-items: flex-start;
    margin-bottom: 22px;
  }
  .page-heading h1 {
    font-size: 25px;
  }
  .page-heading p {
    font-size: 10px;
    max-width: 400px;
  }
  .heading-actions {
    gap: 4px;
  }
  .heading-actions .primary {
    font-size: 10px;
    padding: 9px 10px;
    white-space: nowrap;
  }
  .heading-actions .primary svg {
    width: 13px;
  }
  .page-heading .eyebrow {
    font-size: 8px;
  }
  .stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 18px 0 27px;
  }
  .stat {
    padding: 20px;
  }
  .stat h3 {
    font-size: 11px;
  }
  .stat p {
    font-size: 9px;
  }
  .stat > strong {
    font-size: 28px;
  }
  .stat-icon {
    right: 16px;
    top: 19px;
    padding: 8px;
  }
  .stat-icon svg {
    width: 16px;
    height: 16px;
  }
  .overview-banner {
    min-height: 205px;
  }
  .overview-banner h2 {
    font-size: 27px;
  }
  .overview-banner p {
    font-size: 10px;
    max-width: 230px;
  }
  .banner-visual {
    width: 130px;
    margin-right: -10px;
  }
  .overview-banner .eyebrow {
    font-size: 7px;
  }
  .project-grid.compact {
    gap: 13px;
  }
  .project-card {
    padding: 17px;
  }
  .project-card > p {
    font-size: 9px;
  }
  .project-card-bottom {
    font-size: 8px;
  }
  .project-state {
    font-size: 8px;
  }
  .project-icon {
    width: 30px;
    height: 30px;
  }
  .page-footer {
    padding: 16px 18px;
    font-size: 8px;
  }
  .page-footer span {
    font-size: 7px;
  }
  .board-tabs {
    gap: 19px;
    margin-top: 22px;
  }
  .board-tabs-note {
    display: none;
  }
  .board-toolbar {
    flex-wrap: wrap;
    margin-bottom: 19px;
    gap: 8px;
  }
  .search-field {
    max-width: none;
    flex-basis: calc(100% - 42px);
    order: 0;
  }
  .board-toolbar > button:last-child {
    order: 1;
    margin-left: 0;
  }
  .board-toolbar select {
    order: 2;
    flex: 1;
    max-width: none;
    min-width: 110px;
  }
  .board-toolbar #toggle-archive {
    order: 3;
  }
  .board-toolbar > button span {
    font-size: 9px;
  }
  .task-group {
    margin-bottom: 16px;
  }
  .group-heading {
    padding: 13px 10px;
  }
  .group-heading h2 {
    font-size: 11px;
  }
  .group-heading .text-button {
    font-size: 8px;
  }
  .team-summary {
    font-size: 10px;
    padding: 14px;
  }
  .team-summary span {
    display: none;
  }
  .settings-card {
    padding: 20px;
  }
  .auth {
    grid-template-columns: 1fr;
  }
  .auth-story {
    display: none;
  }
  .auth-panel {
    min-height: 100vh;
    padding: 40px 25px;
  }
  .auth-form {
    max-width: 360px;
  }
  .auth-form > .eyebrow {
    font-size: 10px;
  }
  .auth-form h2 {
    font-size: 31px;
  }
  .auth-form > .muted {
    font-size: 12px;
  }
  .auth-form input,
  .auth-form select {
    height: 46px;
  }
  .auth-form form label {
    font-size: 12px;
  }
  .auth-form:before {
    content: "trama";
    display: block;
    font-weight: 750;
    font-size: 35px;
    letter-spacing: -2px;
    margin-bottom: 45px;
    color: var(--primary);
  }
  .settings-columns {
    gap: 20px;
  }
  .palette-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  dialog.drawer {
    width: 100%;
    max-width: 100%;
    border-radius: 0;
    padding: 23px;
    height: 100dvh;
  }
  .selection-bar {
    gap: 8px;
    flex-wrap: wrap;
  }
  .selection-bar strong {
    font-size: 10px;
  }
  .selection-bar button {
    font-size: 9px;
    padding: 6px 8px;
  }
  .calendar-toolbar h2 {
    font-size: 15px;
  }
  .person-card {
    padding: 22px 14px 0;
  }
  .person-card h3 {
    font-size: 12px;
  }
  .person-card > p {
    font-size: 9px;
  }
  .settings-card .section-title h2 {
    font-size: 14px;
  }
  #task-pagination {
    font-size: 9px;
    align-items: flex-start;
  }
  #task-pagination > span {
    max-width: 180px;
    line-height: 1.5;
  }
  #task-pagination > div {
    gap: 8px;
  }
  #task-pagination button {
    font-size: 9px;
    padding: 6px 8px;
  }
}
@media (max-width: 440px) {
  .project-grid,
  .project-grid.compact {
    grid-template-columns: 1fr;
  }
  .project-card {
    padding: 20px;
  }
  .project-card-title {
    font-size: 15px;
  }
  .project-card > p {
    font-size: 11px;
  }
  .project-state {
    font-size: 9px;
  }
  .project-card-bottom {
    font-size: 10px;
  }
  .progress-label {
    font-size: 10px;
  }
  .overview-banner {
    padding: 22px;
  }
  .overview-banner h2 {
    font-size: 27px;
  }
  .banner-visual {
    display: none;
  }
  .overview-banner p {
    max-width: 100%;
  }
  .overview-banner .eyebrow {
    font-size: 7px;
  }
  .page-heading {
    flex-wrap: wrap;
  }
  .heading-actions {
    margin-top: 0;
  }
  .page-heading h1 {
    font-size: 26px;
  }
  .stat {
    padding: 18px;
  }
  .team-grid {
    gap: 11px;
  }
  .person-card h3 {
    font-size: 11px;
  }
  .person-role {
    font-size: 7px;
  }
  .person-card > p {
    font-size: 8px;
  }
  .person-card-bottom {
    font-size: 8px;
  }
  .palette-grid {
    grid-template-columns: 1fr 1fr;
  }
  .form-grid {
    gap: 0 13px;
  }
  .page-footer span {
    display: none;
  }
  .drawer .modal-header h2 {
    font-size: 20px;
  }
  .drawer .form-grid {
    grid-template-columns: 1fr 1fr;
  }
  .board-tabs {
    margin-top: 17px;
  }
  .settings-card .form-grid {
    grid-template-columns: 1fr;
  }
  .heading-actions .primary {
    font-size: 11px;
    padding: 10px 13px;
  }
  .person-card .avatar.large {
    width: 54px;
    height: 54px;
    font-size: 17px;
  }
  .auth-security {
    font-size: 8px;
  }
  .auth-story footer {
    font-size: 7px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
