/* manrope-cyrillic-ext-wght-normal */
@font-face {
  font-family: "Manrope Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(./assets/manrope-cyrillic-ext-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

/* manrope-cyrillic-wght-normal */
@font-face {
  font-family: "Manrope Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(./assets/manrope-cyrillic-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

/* manrope-greek-wght-normal */
@font-face {
  font-family: "Manrope Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(./assets/manrope-greek-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}

/* manrope-vietnamese-wght-normal */
@font-face {
  font-family: "Manrope Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(./assets/manrope-vietnamese-wght-normal.woff2) format("woff2-variations");
  unicode-range:
    U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301,
    U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

/* manrope-latin-ext-wght-normal */
@font-face {
  font-family: "Manrope Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(./assets/manrope-latin-ext-wght-normal.woff2) format("woff2-variations");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F,
    U+A720-A7FF;
}

/* manrope-latin-wght-normal */
@font-face {
  font-family: "Manrope Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url(./assets/manrope-latin-wght-normal.woff2) format("woff2-variations");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  min-height: 100%;
  font-family:
    "Manrope Variable",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: #20232b;
  background: #f8f9fc;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
button,
input,
select,
textarea,
a {
  -webkit-tap-highlight-color: transparent;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #b6b6ff;
  outline-offset: 3px;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  border: 0;
  background: none;
  color: inherit;
}
input,
textarea,
select {
  outline: none;
}
button .icon {
  pointer-events: none;
}
.icon {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
  vertical-align: middle;
}
.muted {
  color: #9296a3;
}
.subtle {
  color: #6f7482;
}
.mono {
  font-variant-numeric: tabular-nums;
}
.shell {
  display: grid;
  grid-template-columns: 228px minmax(0, 1fr);
  min-height: 100vh;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 228px;
  background: #f2f3f7;
  border-right: 1px solid #e6e8ef;
  display: flex;
  flex-direction: column;
  padding: 28px 18px 18px;
  z-index: 40;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 25px;
  font-weight: 750;
  letter-spacing: -1.3px;
  padding: 0 14px;
  white-space: nowrap;
}
.brand-mark {
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #25272f;
  border-radius: 9px;
}
.brand-mark svg {
  width: 22px;
}
.logo small {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.4px;
  color: #9397a4;
  border-left: 1px solid #d9dce4;
  padding-left: 10px;
  margin-left: 2px;
}
.workspace-switch {
  margin: 35px 6px 26px;
  background: #fff;
  border: 1px solid #e2e5ec;
  border-radius: 12px;
  padding: 11px 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 2px 5px #242c4304;
  text-align: left;
}
.workspace-symbol {
  width: 30px;
  height: 30px;
  background: #e9e5ff;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 750;
  color: #7163c6;
}
.workspace-copy {
  flex: 1;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.5;
}
.workspace-copy small {
  display: block;
  color: #989ca9;
  font-size: 10px;
  font-weight: 400;
}
.nav-label {
  font-size: 9px;
  letter-spacing: 1.3px;
  font-weight: 700;
  color: #9da2af;
  padding: 0 15px;
  margin-bottom: 12px;
}
.nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.nav a {
  height: 43px;
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 0 14px;
  color: #7c818f;
  border-radius: 10px;
  font-size: 12px;
  transition:
    background 0.15s,
    color 0.15s;
}
.nav a:hover {
  background: #e9ebf2;
  color: #282d3a;
}
.nav a.active {
  background: #fff;
  color: #34333e;
  font-weight: 650;
  box-shadow: 0 3px 10px #292f4c06;
}
.nav a.active .icon {
  color: #6b60d1;
}
.nav .count {
  margin-left: auto;
  font-size: 10px;
  background: #e9e7f7;
  color: #7d72c9;
  padding: 2px 6px;
  border-radius: 5px;
  font-weight: 600;
}
.nav .separator {
  height: 1px;
  background: #e5e7ee;
  margin: 15px 13px;
}
.sidebar-footer {
  margin-top: auto;
  padding-top: 30px;
}
.demo-note {
  margin: 0 8px 17px;
  border: 1px solid #e0e3ed;
  border-radius: 10px;
  padding: 11px;
  color: #999dab;
  font-size: 10px;
  line-height: 1.6;
}
.demo-note strong {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #7c8292;
  font-weight: 600;
  margin-bottom: 3px;
}
.demo-note strong:before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #afa1e2;
}
.profile {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  width: 100%;
  text-align: left;
}
.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #e6e9f4;
  color: #7a83a4;
  font-size: 10px;
  font-weight: 650;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}
.avatar.purple {
  background: #eae5fa;
  color: #9a7bba;
}
.avatar.peach {
  background: #f6e8e2;
  color: #bf927e;
}
.avatar.green {
  background: #e5eee8;
  color: #7e9c8b;
}
.avatar.dark {
  background: #2f3340;
  color: #fff;
}
.avatar.big {
  width: 38px;
  height: 38px;
  font-size: 12px;
}
.profile .profile-info {
  flex: 1;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.6;
}
.profile-info small {
  display: block;
  font-weight: 400;
  color: #9a9fab;
  font-size: 10px;
}
.main {
  grid-column: 2;
  min-width: 0;
}
.topbar {
  height: 81px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  border-bottom: 1px solid #e9ebf1;
  background: #fcfcfe;
  gap: 15px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 11px;
  color: #999eab;
}
.breadcrumb strong {
  font-weight: 550;
  color: #676e7d;
}
.top-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}
.search-trigger {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #a2a7b3;
  font-size: 11px;
}
.search-trigger .icon {
  width: 16px;
}
.key {
  font-size: 9px;
  border: 1px solid #e3e6ed;
  padding: 3px 5px;
  border-radius: 4px;
  color: #a0a5b2;
  margin-left: 20px;
}
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  color: #818796;
  transition: background 0.15s;
}
.icon-btn:hover {
  background: #eef0f5;
  color: #34394a;
}
.icon-btn .icon {
  width: 17px;
  height: 17px;
}
.button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 15px;
  border: 1px solid #e3e6ed;
  border-radius: 9px;
  background: #fff;
  color: #5a6171;
  font-size: 11px;
  font-weight: 550;
  white-space: nowrap;
  transition:
    background 0.15s,
    transform 0.15s;
}
.button:hover {
  background: #f4f5fa;
  transform: translateY(-1px);
}
.button .icon {
  width: 15px;
  height: 15px;
}
.button.primary {
  background: #292c36;
  color: #fff;
  border-color: #292c36;
  box-shadow: 0 3px 7px #1d203017;
}
.button.primary:hover {
  background: #3c4050;
}
.button.accent {
  background: #eeebfd;
  color: #7766c9;
  border-color: #e2dcf9;
}
.button.danger {
  color: #b76270;
  background: #fff7f7;
  border-color: #f1dee1;
}
.button.small {
  min-height: 31px;
  padding: 0 10px;
  font-size: 10px;
}
.content {
  padding: 35px 40px 45px;
  max-width: 1820px;
  margin: auto;
}
.page-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 27px;
  gap: 15px;
}
.eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.3px;
  color: #969bad;
  margin-bottom: 9px;
  text-transform: uppercase;
}
.page-head h1 {
  font-size: 30px;
  letter-spacing: -1.2px;
  line-height: 1.25;
  font-weight: 600;
  margin: 0 0 9px;
}
.page-head p {
  font-size: 11px;
  color: #949aa8;
  margin: 0;
  line-height: 1.7;
}
.head-actions {
  display: flex;
  gap: 9px;
  align-items: center;
}
.today-chip {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #979dac;
  font-size: 11px;
}
.today-chip .icon {
  width: 15px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 27px;
}
.stat {
  border: 1px solid #e6e8ef;
  border-radius: 14px;
  background: #fff;
  padding: 21px 22px;
  position: relative;
  min-height: 133px;
}
.stat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 17px;
  font-size: 10px;
  color: #9298a8;
}
.stat-top .icon {
  color: #a0a6b6;
  width: 16px;
}
.stat-value {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -1.1px;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.stat-value small {
  font-size: 16px;
  color: #b3b8c4;
  font-weight: 400;
}
.stat-bottom {
  margin-top: 12px;
  font-size: 9px;
  color: #a6acb9;
  display: flex;
  gap: 6px;
  align-items: center;
}
.stat-bottom .positive {
  color: #72a590;
}
.stat.featured {
  background: #2d303d;
  color: #fff;
  border-color: #2d303d;
  overflow: hidden;
}
.stat.featured:after {
  content: "";
  position: absolute;
  width: 180px;
  height: 150px;
  background: radial-gradient(ellipse, #988cbb38, transparent 70%);
  right: -40px;
  top: -40px;
  pointer-events: none;
}
.stat.featured .stat-top,
.stat.featured .stat-bottom {
  color: #adb3c5;
}
.stat.featured .stat-top .icon {
  color: #c4b4e9;
}
.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr);
  gap: 23px;
}
.panel {
  background: #fff;
  border: 1px solid #e6e8ef;
  border-radius: 14px;
  overflow: hidden;
}
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  border-bottom: 1px solid #f0f1f6;
  gap: 12px;
}
.panel-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.2px;
}
.panel-title small {
  font-size: 10px;
  color: #a6abba;
  margin-left: 7px;
  font-weight: 400;
}
.link-button {
  font-size: 10px;
  color: #979cac;
  display: flex;
  align-items: center;
  gap: 7px;
}
.link-button:hover {
  color: #6e61bd;
}
.link-button .icon {
  width: 14px;
  height: 14px;
}
.week-strip {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  padding: 18px 20px 16px;
  gap: 5px;
}
.week-day {
  text-align: center;
  border-radius: 10px;
  padding: 10px 2px;
  color: #a2a8b7;
  font-size: 9px;
  position: relative;
}
.week-day strong {
  display: block;
  font-size: 17px;
  font-weight: 500;
  color: #6c7485;
  margin: 7px 0 5px;
}
.week-day.active {
  background: #eeebfb;
  color: #8d7fbe;
}
.week-day.active strong {
  color: #7665b0;
}
.week-day .dot {
  width: 3px;
  height: 3px;
  display: inline-block;
  background: #b4a6dd;
  border-radius: 50%;
  margin: 0 1px;
}
.agenda {
  padding: 0 23px 12px;
}
.agenda-row {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 16px 0;
  border-top: 1px solid #f0f2f7;
  width: 100%;
  text-align: left;
}
.agenda-date {
  width: 47px;
  color: #a1a8b6;
  flex-shrink: 0;
  font-size: 10px;
  font-variant-numeric: tabular-nums;
}
.agenda-accent {
  width: 3px;
  height: 34px;
  border-radius: 3px;
  background: #b2a3d6;
  flex-shrink: 0;
}
.agenda-accent.green {
  background: #9ebeb4;
}
.agenda-accent.peach {
  background: #d5b3a6;
}
.agenda-text {
  flex: 1;
  min-width: 0;
}
.agenda-text strong {
  display: block;
  font-size: 11px;
  font-weight: 550;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.agenda-text small {
  display: block;
  font-size: 9px;
  color: #a4aab8;
  margin-top: 6px;
}
.agenda .icon {
  width: 14px;
  color: #b4b9c5;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border-radius: 5px;
  padding: 4px 7px;
  font-size: 8px;
  font-weight: 500;
  white-space: nowrap;
  background: #f1f2f6;
  color: #8b93a4;
  line-height: 1.2;
}
.badge.purple {
  background: #eeebfb;
  color: #927dbb;
}
.badge.green {
  background: #eaf3ee;
  color: #7eac97;
}
.badge.peach {
  background: #faf0e9;
  color: #c69e7a;
}
.badge.blue {
  background: #eaf0fa;
  color: #849dc2;
}
.badge.red {
  background: #fbeff0;
  color: #c89097;
}
.task-list {
  padding: 0 23px;
}
.task-row {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 17px 0;
  border-top: 1px solid #f0f2f7;
}
.task-row:first-child {
  border-top: 0;
}
.task-check {
  width: 17px;
  height: 17px;
  border: 1px solid #dfe3ec;
  border-radius: 5px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  color: #fff;
  background: #fff;
  padding: 0;
}
.task-check:hover {
  border-color: #a095cf;
  background: #f5f2ff;
}
.task-check.done {
  background: #a79bce;
  border-color: #a79bce;
}
.task-check .icon {
  width: 12px;
  height: 12px;
}
.task-copy {
  flex: 1;
  min-width: 0;
  text-align: left;
}
.task-copy strong {
  display: block;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.5;
}
.task-copy small {
  display: block;
  font-size: 9px;
  color: #a7adba;
  margin-top: 5px;
}
.task-copy.done strong {
  text-decoration: line-through;
  color: #a6acb7;
}
.task-row .avatar {
  width: 24px;
  height: 24px;
  font-size: 8px;
}
.panel-bottom {
  padding: 16px 23px;
  border-top: 1px solid #f0f2f7;
}
.panel-bottom .link-button {
  width: 100%;
  justify-content: center;
}
.section-spacer {
  margin-top: 23px;
}
.funnel-chart {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
  padding: 25px 25px 23px;
  align-items: end;
  height: 170px;
}
.funnel-bar {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  min-width: 0;
}
.funnel-bar b {
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 10px;
  color: #5e6678;
}
.funnel-bar .bar {
  height: var(--height);
  min-height: 8px;
  background: var(--color);
  border-radius: 5px 5px 0 0;
}
.funnel-bar span {
  font-size: 8px;
  margin-top: 10px;
  color: #a5abba;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.activity {
  padding: 6px 23px 14px;
}
.activity-row {
  display: flex;
  gap: 10px;
  padding: 13px 0;
  font-size: 9px;
  line-height: 1.7;
  color: #949baa;
}
.activity-row strong {
  font-weight: 500;
  color: #727c8e;
}
.activity-row small {
  display: block;
  font-size: 8px;
  color: #b2b8c4;
}
.activity-icon {
  width: 25px;
  height: 25px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: #f0eef8;
  color: #a294c0;
  flex-shrink: 0;
}
.activity-icon .icon {
  width: 12px;
  height: 12px;
}
.toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 0 0 23px;
}
.toolbar-left,
.toolbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.tabs {
  display: flex;
  gap: 4px;
  background: #edf0f5;
  border-radius: 8px;
  padding: 3px;
}
.tabs button {
  font-size: 10px;
  color: #9299a9;
  padding: 8px 12px;
  border-radius: 6px;
  white-space: nowrap;
}
.tabs button.active {
  background: white;
  color: #596275;
  box-shadow: 0 2px 5px #303b5d08;
}
.tabs .icon {
  width: 13px;
  height: 13px;
  margin-right: 5px;
}
.input-search {
  display: flex;
  align-items: center;
  border: 1px solid #e4e7ef;
  border-radius: 8px;
  background: white;
  padding: 0 11px;
  height: 34px;
  gap: 7px;
  max-width: 240px;
}
.input-search .icon {
  color: #b4bac6;
  width: 14px;
  height: 14px;
}
.input-search input {
  border: 0;
  background: none;
  color: #7b8496;
  width: 100%;
  min-width: 0;
  font-size: 10px;
}
.input-search input::placeholder {
  color: #b0b7c5;
}
.filter-select {
  font-size: 10px;
  color: #8e97a9;
  border: 1px solid #e4e7ef;
  border-radius: 8px;
  padding: 8px 10px;
  background: white;
  max-width: 150px;
}
.board-summary {
  display: flex;
  gap: 25px;
  color: #9ca4b4;
  font-size: 10px;
  margin-bottom: 22px;
}
.board-summary strong {
  font-size: 12px;
  color: #6f798d;
  font-weight: 550;
  margin-right: 5px;
}
.kanban {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  overflow-x: auto;
  padding: 0 0 26px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: #d9dce6 transparent;
  min-height: 400px;
}
.kanban-column {
  flex: 0 0 264px;
  scroll-snap-align: start;
  border-radius: 12px;
  transition: background 0.15s;
  min-height: 260px;
  padding: 0 1px;
}
.kanban-column.drag-over {
  background: #e9e5f7;
  outline: 2px dashed #c4b8e8;
  outline-offset: 5px;
}
.column-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3px 15px;
  font-size: 10px;
  color: #737d91;
  font-weight: 550;
}
.column-head .title {
  display: flex;
  align-items: center;
  gap: 7px;
}
.stage-dot {
  width: 6px;
  height: 6px;
  background: var(--stage-color, #a8a2bd);
  border-radius: 2px;
}
.column-head .count {
  font-size: 9px;
  font-weight: 400;
  color: #adb4c3;
  margin-left: 1px;
}
.column-total {
  font-size: 9px;
  color: #b4bbc8;
  margin: -8px 3px 14px;
}
.lead-card {
  background: white;
  border: 1px solid #e4e7ef;
  box-shadow: 0 2px 4px #3a466405;
  border-radius: 11px;
  padding: 16px;
  margin-bottom: 11px;
  cursor: grab;
  transition:
    box-shadow 0.15s,
    border-color 0.15s,
    transform 0.15s;
  position: relative;
  touch-action: pan-y;
}
.lead-card:hover {
  box-shadow: 0 6px 20px #4c4c7210;
  border-color: #d6cfee;
  transform: translateY(-2px);
}
.lead-card.dragging {
  opacity: 0.35;
  transform: rotate(-1deg);
}
.card-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 13px;
}
.company-logo {
  width: 29px;
  height: 29px;
  border-radius: 8px;
  background: var(--logo-bg, #eeeef7);
  color: var(--logo-color, #9792b2);
  font-size: 10px;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.company-name {
  font-size: 9px;
  color: #a4acbb;
  flex: 1;
  line-height: 1.5;
}
.lead-name {
  font-size: 12px;
  color: #505b70;
  font-weight: 550;
  margin-bottom: 6px;
  line-height: 1.5;
}
.lead-subtitle {
  font-size: 9px;
  color: #adb4c3;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.lead-subtitle .icon {
  width: 10px;
  height: 10px;
}
.lead-budget {
  font-size: 15px;
  font-weight: 550;
  color: #626e84;
  margin-bottom: 13px;
  letter-spacing: -0.3px;
}
.lead-budget small {
  font-size: 9px;
  font-weight: 400;
  color: #b5bcc9;
  margin-left: 5px;
}
.lead-tags {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin-bottom: 15px;
}
.card-next {
  padding-top: 12px;
  border-top: 1px solid #f0f2f7;
  font-size: 8px;
  color: #a4acbb;
  display: flex;
  align-items: center;
  gap: 6px;
}
.card-next .icon {
  width: 11px;
  height: 11px;
  color: #b2a0cb;
}
.card-next span {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.card-next .avatar {
  width: 20px;
  height: 20px;
  font-size: 7px;
}
.lead-card .card-more {
  position: absolute;
  top: 11px;
  right: 7px;
  width: 24px;
  height: 24px;
  opacity: 0;
}
.lead-card:hover .card-more {
  opacity: 1;
}
.column-add {
  height: 34px;
  border: 1px dashed #e1e5ee;
  color: #b1b8c7;
  font-size: 9px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
}
.column-add .icon {
  width: 12px;
}
.empty-column {
  font-size: 9px;
  color: #c0c6d1;
  text-align: center;
  padding: 27px 5px 20px;
}
.table-wrap {
  border: 1px solid #e5e9f1;
  border-radius: 12px;
  overflow: auto;
  background: #fff;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
  text-align: left;
}
.data-table th {
  font-size: 9px;
  font-weight: 500;
  color: #9aa4b5;
  background: #fbfcfe;
  padding: 14px 18px;
  border-bottom: 1px solid #edf0f5;
}
.data-table td {
  font-size: 10px;
  color: #7b879b;
  padding: 16px 18px;
  border-bottom: 1px solid #f0f2f7;
}
.data-table tr:last-child td {
  border-bottom: 0;
}
.data-table tbody tr:hover {
  background: #fbfaff;
  cursor: pointer;
}
.data-table .primary-text {
  font-size: 11px;
  color: #556177;
  font-weight: 500;
}
.data-table small {
  display: block;
  font-size: 9px;
  color: #a5afbf;
  margin-top: 5px;
}
.person-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}
.calendar-panel {
  background: white;
  border: 1px solid #e5e8f0;
  border-radius: 13px;
  overflow: hidden;
}
.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  background: #fcfcfe;
}
.calendar-weekdays div {
  padding: 13px 14px;
  font-size: 9px;
  color: #a3abbb;
}
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}
.calendar-cell {
  min-height: 117px;
  border-top: 1px solid #edf0f5;
  border-right: 1px solid #edf0f5;
  padding: 10px;
  min-width: 0;
}
.calendar-cell:nth-child(7n) {
  border-right: 0;
}
.calendar-cell.outside {
  background: #fcfcfe;
  color: #ccd1db;
}
.day-number {
  font-size: 10px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  margin-bottom: 5px;
  color: #9da6b6;
}
.calendar-cell.today .day-number {
  background: #302f3e;
  color: white;
}
.calendar-event {
  display: block;
  width: 100%;
  text-align: left;
  background: #eeeafa;
  color: #9381bb;
  border-left: 2px solid #b1a0d5;
  border-radius: 4px;
  padding: 6px 7px;
  margin-bottom: 4px;
  font-size: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.calendar-event:nth-of-type(even) {
  background: #eaf2ef;
  color: #89a99c;
  border-color: #a6c2b5;
}
.calendar-event small {
  display: block;
  opacity: 0.7;
  font-size: 7px;
  margin-top: 3px;
}
.concert-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.concert-card {
  background: white;
  border: 1px solid #e5e8f0;
  border-radius: 13px;
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  padding: 0;
  transition:
    transform 0.15s,
    box-shadow 0.15s;
}
.concert-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px #45436b12;
}
.concert-art {
  height: 135px;
  background: #e9e6ef;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  color: #fff;
}
.concert-art:before {
  content: "";
  width: 170px;
  height: 170px;
  border: 23px solid #ffffff25;
  border-radius: 50%;
  position: absolute;
  right: -30px;
  top: -40px;
  transform: rotateX(35deg) rotateY(30deg);
}
.concert-art:after {
  content: "";
  width: 100px;
  height: 100px;
  background: #ffffff0b;
  border-radius: 50%;
  position: absolute;
  right: 70px;
  bottom: -45px;
}
.concert-art strong {
  font-size: 22px;
  letter-spacing: -0.8px;
  font-weight: 500;
  position: relative;
  z-index: 1;
}
.concert-art .badge {
  position: absolute;
  right: 15px;
  top: 15px;
  background: #ffffff26;
  color: #fff;
}
.concert-body {
  padding: 20px;
}
.concert-body h3 {
  font-size: 12px;
  font-weight: 550;
  margin: 0 0 10px;
  color: #59667d;
}
.concert-info {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: #a4adbd;
  margin-top: 12px;
}
.progress-track {
  height: 4px;
  background: #f0f2f7;
  border-radius: 4px;
  overflow: hidden;
  margin-top: 17px;
}
.progress-track span {
  display: block;
  height: 100%;
  background: #b0a4d6;
  border-radius: 4px;
}
.finance-balance {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 25px;
}
.finance-balance .stat {
  min-height: 146px;
}
.progress-line {
  height: 5px;
  border-radius: 5px;
  background: #f0f2f7;
  overflow: hidden;
  min-width: 90px;
  margin-top: 7px;
}
.progress-line span {
  background: #a8beb3;
  height: 100%;
  display: block;
}
.task-groups {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.task-group-head {
  font-size: 11px;
  color: #7b8598;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 22px;
  background: #fcfcfe;
  border-bottom: 1px solid #f0f2f6;
}
.task-group-head small {
  color: #b1b8c6;
}
.task-table-row {
  display: flex;
  align-items: center;
  padding: 18px 23px;
  border-bottom: 1px solid #f0f2f6;
  gap: 13px;
}
.task-table-row:last-child {
  border-bottom: 0;
}
.task-table-row .task-copy {
  flex: 1;
}
.task-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 9px;
  color: #a4aebf;
}
.task-meta > span {
  min-width: 75px;
}
.team-layout {
  display: grid;
  grid-template-columns: 225px minmax(0, 1fr);
  height: calc(100vh - 235px);
  min-height: 510px;
  border: 1px solid #e4e8f0;
  border-radius: 13px;
  background: #fff;
  overflow: hidden;
}
.channels {
  border-right: 1px solid #e9edf3;
  padding: 19px 12px;
  display: flex;
  flex-direction: column;
}
.channels-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 9px;
  font-size: 9px;
  font-weight: 600;
  color: #a5adbc;
  letter-spacing: 0.6px;
  margin-bottom: 15px;
}
.channel-button {
  display: flex;
  gap: 10px;
  align-items: center;
  text-align: left;
  padding: 12px 11px;
  border-radius: 8px;
  font-size: 10px;
  color: #8a96a9;
  width: 100%;
  margin-bottom: 4px;
  min-width: 0;
}
.channel-button:hover {
  background: #f7f8fb;
}
.channel-button.active {
  background: #efecf9;
  color: #9683bc;
}
.channel-button .hash {
  font-size: 17px;
  color: #b2a4cf;
}
.channel-button span:last-child {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.team-mini {
  margin-top: auto;
  padding: 18px 8px 0;
  border-top: 1px solid #eef0f6;
}
.team-mini .avatars {
  display: flex;
  gap: 5px;
  margin-top: 10px;
}
.chat-pane {
  display: flex;
  flex-direction: column;
  min-width: 0;
  position: relative;
}
.chat-head {
  padding: 17px 23px;
  border-bottom: 1px solid #edf0f6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.chat-head h3 {
  margin: 0;
  font-size: 12px;
  font-weight: 550;
  color: #67748b;
}
.chat-head p {
  margin: 5px 0 0;
  font-size: 9px;
  color: #a5afbf;
}
.messages {
  padding: 25px 25px 10px;
  flex: 1;
  overflow-y: auto;
  scroll-behavior: smooth;
}
.chat-date {
  text-align: center;
  font-size: 8px;
  color: #bec5d1;
  margin-bottom: 27px;
  letter-spacing: 0.7px;
}
.message {
  display: flex;
  gap: 10px;
  margin-bottom: 23px;
  max-width: 88%;
}
.message.own {
  margin-left: auto;
  flex-direction: row-reverse;
}
.message .avatar {
  width: 28px;
  height: 28px;
  font-size: 8px;
}
.message-body {
  min-width: 0;
}
.message-author {
  font-size: 9px;
  color: #8793a9;
  margin-bottom: 7px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.message-author small {
  font-size: 8px;
  color: #bcc4d0;
}
.message.own .message-author {
  justify-content: flex-end;
}
.message-bubble {
  background: #f3f5f9;
  border-radius: 0 11px 11px 11px;
  padding: 12px 15px;
  font-size: 10px;
  line-height: 1.75;
  color: #8693a9;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
.message.own .message-bubble {
  background: #eeebfa;
  color: #9180b4;
  border-radius: 11px 0 11px 11px;
}
.message-context {
  display: inline-flex;
  margin-top: 8px;
  font-size: 8px;
  color: #a395bd;
  padding: 4px 7px;
  border: 1px solid #e1d9f1;
  border-radius: 4px;
}
.chat-compose {
  margin: 10px 22px 15px;
  border: 1px solid #e3e7f0;
  border-radius: 11px;
  padding: 11px 12px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.chat-compose textarea {
  border: 0;
  background: transparent;
  resize: none;
  flex: 1;
  min-width: 0;
  font-size: 10px;
  color: #7f8da4;
  line-height: 1.7;
  min-height: 34px;
  max-height: 110px;
  padding: 7px 0;
}
.chat-compose textarea::placeholder {
  color: #bac3d1;
}
.chat-footnote {
  font-size: 8px;
  color: #b5becd;
  text-align: center;
  margin-bottom: 14px;
}
.call-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 19px;
}
.call-card {
  background: white;
  border: 1px solid #e6e9f1;
  border-radius: 14px;
  padding: 23px;
}
.call-card .room-symbol {
  width: 43px;
  height: 43px;
  border-radius: 13px;
  background: #eeebf9;
  color: #9d89c0;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
}
.call-card h3 {
  font-size: 13px;
  font-weight: 550;
  color: #64728a;
  margin: 0 0 9px;
}
.call-card p {
  font-size: 10px;
  line-height: 1.7;
  color: #a6b0c0;
  min-height: 36px;
}
.call-card .room-actions {
  display: flex;
  gap: 7px;
  margin-top: 22px;
}
.call-explainer {
  background: #f0eef8;
  border: 1px solid #e5e0f2;
  color: #9b8fb3;
  border-radius: 11px;
  padding: 15px 19px;
  font-size: 10px;
  line-height: 1.8;
  margin-bottom: 25px;
  display: flex;
  gap: 12px;
  align-items: center;
}
.call-explainer .icon {
  width: 18px;
  flex-shrink: 0;
}
.empty-state {
  padding: 55px 25px;
  text-align: center;
  color: #a0aabb;
}
.empty-state > .icon {
  width: 33px;
  height: 33px;
  stroke-width: 1;
  margin-bottom: 16px;
  color: #b8b4cf;
}
.empty-state h3 {
  font-size: 14px;
  font-weight: 500;
  color: #8b91a9;
  margin: 0 0 9px;
}
.empty-state p {
  font-size: 11px;
  line-height: 1.7;
  max-width: 360px;
  margin: 0 auto 20px;
}
.overlay {
  position: fixed;
  inset: 0;
  background: #25273a50;
  backdrop-filter: blur(5px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px;
  animation: overlay-in 0.15s;
}
.modal {
  width: 540px;
  max-width: 100%;
  max-height: calc(100dvh - 50px);
  overflow: auto;
  background: #fff;
  border-radius: 17px;
  box-shadow: 0 20px 90px #20213c30;
}
.modal.wide {
  width: 750px;
}
.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25px 28px 18px;
}
.modal-head h2 {
  font-size: 19px;
  font-weight: 550;
  letter-spacing: -0.5px;
  margin: 0;
}
.modal-body {
  padding: 5px 28px 27px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 16px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}
.field.full {
  grid-column: 1/-1;
}
.field label {
  font-size: 10px;
  color: #929aaa;
}
.field input,
.field select,
.field textarea {
  border: 1px solid #e1e5ed;
  border-radius: 8px;
  padding: 11px 12px;
  color: #6e798c;
  background: #fcfcfe;
  font-size: 11px;
  width: 100%;
  min-width: 0;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: #baaddd;
  background: #fff;
  box-shadow: 0 0 0 3px #f2eefb;
}
.field textarea {
  resize: vertical;
  min-height: 80px;
}
.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  padding-top: 25px;
}
.error-text {
  font-size: 10px;
  color: #bb7b85;
  background: #fff1f2;
  padding: 10px 12px;
  border-radius: 7px;
  margin: 12px 0;
}
.form-hint {
  font-size: 9px;
  color: #a7afbc;
  line-height: 1.7;
  margin-top: 14px;
}
.drawer-overlay {
  justify-content: flex-end;
  padding: 0;
  background: #25273a30;
}
.drawer {
  height: 100dvh;
  width: 540px;
  max-width: 100%;
  background: #fff;
  box-shadow: -15px 0 70px #2a2c4a10;
  overflow-y: auto;
  animation: drawer-in 0.2s;
}
.drawer-head {
  padding: 23px 27px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #edf0f6;
  position: sticky;
  top: 0;
  background: #ffffffed;
  backdrop-filter: blur(15px);
  z-index: 1;
}
.drawer-head .eyebrow {
  font-size: 9px;
  margin: 0;
}
.drawer-body {
  padding: 29px;
}
.detail-title {
  font-size: 26px;
  font-weight: 550;
  letter-spacing: -1px;
  line-height: 1.25;
  margin: 0 0 8px;
}
.detail-subtitle {
  font-size: 11px;
  color: #a5adbc;
  margin-bottom: 25px;
  line-height: 1.8;
}
.detail-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 29px;
}
.detail-section {
  padding: 23px 0;
  border-top: 1px solid #edf0f6;
}
.detail-section h3 {
  font-size: 11px;
  font-weight: 550;
  color: #6e7b92;
  margin: 0 0 17px;
}
.detail-data {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 19px;
}
.detail-data .label {
  font-size: 9px;
  color: #adb6c6;
  margin-bottom: 7px;
}
.detail-data .value {
  font-size: 11px;
  color: #7a879e;
  line-height: 1.7;
  word-break: break-word;
}
.detail-note {
  font-size: 11px;
  color: #99a5b8;
  line-height: 1.9;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.detail-select {
  border: 1px solid #e5e8f0;
  border-radius: 8px;
  background: #f9f8fd;
  color: #9d8bbd;
  padding: 9px;
  font-size: 10px;
  max-width: 100%;
}
.checklist-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  color: #8c99ae;
  font-size: 10px;
}
.checklist-row .done-text {
  color: #aab4c3;
  text-decoration: line-through;
}
.search-modal {
  width: 630px;
}
.search-large {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 22px 25px;
  border-bottom: 1px solid #edf0f6;
}
.search-large input {
  border: 0;
  font-size: 15px;
  flex: 1;
  min-width: 0;
  color: #7e8ba2;
}
.search-results {
  padding: 12px;
  max-height: 410px;
  overflow: auto;
}
.search-result {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px;
  width: 100%;
  text-align: left;
  border-radius: 8px;
}
.search-result:hover {
  background: #f5f3fc;
}
.search-result .icon {
  color: #aa9cc4;
  width: 17px;
}
.search-result strong {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: #6e7d96;
}
.search-result small {
  display: block;
  font-size: 9px;
  color: #abb5c5;
  margin-top: 5px;
}
.loading {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: #fafafe;
  color: #9e93bd;
  font-size: 12px;
}
.loading > div {
  text-align: center;
}
.loading svg {
  display: block;
  margin: 0 auto 20px;
  width: 35px;
  height: 35px;
  animation: spin 2s linear infinite;
}
.toast {
  position: relative;
  background: #2f3443;
  color: #f8faff;
  border: 1px solid #ffffff20;
  border-radius: 11px;
  padding: 14px 19px;
  box-shadow: 0 10px 40px #25304b20;
  font-size: 11px;
  line-height: 1.6;
  animation: toast-in 0.2s;
  margin-top: 9px;
  max-width: 380px;
  display: flex;
  gap: 10px;
  align-items: center;
}
.toast .icon {
  color: #c0b4e4;
  width: 16px;
}
.toast.error {
  background: #6d424d;
}
#toast-root {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 150;
  pointer-events: none;
}
.mobile-menu,
.mobile-nav {
  display: none;
}
.mobile-overlay {
  display: none;
}
.bottom-note {
  font-size: 9px;
  color: #b3bac8;
  line-height: 1.7;
  margin-top: 20px;
}
.settings-section {
  padding: 20px 0;
  border-bottom: 1px solid #eef1f6;
}
.settings-section:first-child {
  padding-top: 0;
}
.settings-section h3 {
  font-size: 12px;
  font-weight: 550;
  color: #73819b;
  margin: 0 0 9px;
}
.settings-section p {
  font-size: 10px;
  color: #a5afc0;
  line-height: 1.8;
  margin: 0 0 15px;
}
.settings-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
@keyframes overlay-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes drawer-in {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}
@keyframes toast-in {
  from {
    transform: translateY(10px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@media (min-width: 1600px) {
  .content {
    padding: 42px 50px;
  }
  .topbar {
    padding: 0 50px;
  }
  .dashboard-grid {
    grid-template-columns: minmax(0, 1.8fr) minmax(350px, 1fr);
  }
  .lead-card {
    padding: 19px;
  }
  .kanban-column {
    flex-basis: 280px;
  }
}
@media (max-width: 1180px) {
  .sidebar {
    width: 200px;
    padding-inline: 12px;
  }
  .shell {
    grid-template-columns: 200px minmax(0, 1fr);
  }
  .topbar {
    padding: 0 26px;
  }
  .content {
    padding: 30px 26px;
  }
  .logo {
    font-size: 23px;
  }
  .logo small {
    font-size: 8px;
  }
  .stats {
    gap: 11px;
  }
  .stat {
    padding: 18px;
  }
  .stat-value {
    font-size: 24px;
  }
  .dashboard-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(270px, 1fr);
    gap: 16px;
  }
  .panel-head {
    padding: 20px;
  }
  .concert-list,
  .call-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .team-layout {
    grid-template-columns: 190px minmax(0, 1fr);
  }
  .top-actions {
    gap: 10px;
  }
  .key {
    display: none;
  }
}
@media (max-width: 960px) {
  .sidebar {
    width: 76px;
    padding: 25px 11px;
  }
  .shell {
    grid-template-columns: 76px minmax(0, 1fr);
  }
  .logo {
    padding: 0 10px;
    gap: 0;
  }
  .logo .logo-word,
  .logo small,
  .workspace-switch,
  .nav-label,
  .nav a .nav-text,
  .nav .count,
  .demo-note,
  .profile-info,
  .profile > .icon {
    display: none;
  }
  .nav {
    margin-top: 35px;
  }
  .nav a {
    justify-content: center;
    padding: 0;
  }
  .nav a .icon {
    width: 19px;
  }
  .nav .separator {
    margin-inline: 6px;
  }
  .profile {
    padding: 0;
    justify-content: center;
  }
  .sidebar-footer {
    padding-top: 20px;
  }
  .topbar {
    height: 72px;
  }
  .dashboard-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(260px, 1fr);
  }
  .page-head h1 {
    font-size: 27px;
  }
  .search-trigger span {
    display: none;
  }
  .stats {
    gap: 10px;
  }
  .stat {
    padding: 17px 15px;
  }
  .stat-top {
    font-size: 9px;
  }
  .stat-value {
    font-size: 23px;
  }
  .stat-bottom {
    font-size: 8px;
  }
  .calendar-cell {
    min-height: 100px;
    padding: 7px;
  }
  .calendar-event {
    font-size: 7px;
    padding: 5px;
  }
  .task-meta {
    gap: 12px;
  }
  .task-meta > span {
    min-width: auto;
  }
}
@media (max-width: 760px) {
  .shell {
    display: block;
  }
  .main {
    width: 100%;
  }
  .sidebar {
    transform: translateX(-100%);
    width: 245px;
    transition: transform 0.2s;
    padding: 25px 18px;
  }
  .sidebar.mobile-open {
    transform: translateX(0);
  }
  .sidebar.mobile-open .logo .logo-word,
  .sidebar.mobile-open .logo small,
  .sidebar.mobile-open .workspace-switch,
  .sidebar.mobile-open .nav-label,
  .sidebar.mobile-open .nav a .nav-text,
  .sidebar.mobile-open .demo-note,
  .sidebar.mobile-open .profile-info,
  .sidebar.mobile-open .profile > .icon {
    display: initial;
  }
  .sidebar.mobile-open .workspace-switch {
    display: flex;
    margin-top: 30px;
  }
  .sidebar.mobile-open .nav-label {
    display: block;
  }
  .sidebar.mobile-open .nav a {
    justify-content: flex-start;
    padding: 0 13px;
    font-size: 13px;
    height: 46px;
  }
  .sidebar.mobile-open .nav {
    margin-top: 0;
  }
  .sidebar.mobile-open .logo {
    gap: 10px;
  }
  .sidebar.mobile-open .nav .count {
    display: initial;
  }
  .sidebar.mobile-open .profile {
    padding: 8px;
  }
  .sidebar.mobile-open .profile-info {
    flex: 1;
  }
  .sidebar.mobile-open .demo-note {
    display: block;
  }
  .mobile-overlay.visible {
    display: block;
    position: fixed;
    inset: 0;
    background: #282d4660;
    z-index: 39;
    backdrop-filter: blur(3px);
  }
  .topbar {
    height: 66px;
    padding: 0 17px;
    position: sticky;
    top: 0;
    z-index: 30;
    background: #fcfcfef2;
    backdrop-filter: blur(15px);
    gap: 8px;
  }
  .mobile-menu {
    display: flex;
    width: 29px;
    height: 34px;
  }
  .breadcrumb {
    flex: 1;
    font-size: 10px;
    gap: 7px;
  }
  .breadcrumb > span:first-child,
  .breadcrumb > .icon {
    display: none;
  }
  .breadcrumb strong {
    font-size: 13px;
  }
  .top-actions {
    gap: 4px;
  }
  .top-actions > .icon-btn {
    display: none;
  }
  .top-actions > .button {
    min-height: 33px;
    padding: 0 10px;
    font-size: 10px;
  }
  .top-actions .search-trigger {
    width: 30px;
    justify-content: center;
  }
  .content {
    padding: 27px 19px 100px;
  }
  .page-head {
    margin-bottom: 23px;
    align-items: flex-start;
  }
  .page-head h1 {
    font-size: 27px;
    letter-spacing: -1.1px;
    margin-bottom: 8px;
  }
  .page-head p {
    font-size: 10px;
    max-width: 250px;
  }
  .eyebrow {
    font-size: 8px;
    letter-spacing: 1px;
  }
  .today-chip {
    display: none;
  }
  .head-actions .button {
    min-height: 35px;
    padding: 0 11px;
    font-size: 9px;
  }
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
    margin-bottom: 21px;
  }
  .stat {
    min-height: 123px;
    padding: 18px;
  }
  .stat-top {
    font-size: 9px;
    margin-bottom: 15px;
  }
  .stat-value {
    font-size: 25px;
  }
  .stat-value small {
    font-size: 14px;
  }
  .stat-bottom {
    font-size: 8px;
    margin-top: 10px;
  }
  .dashboard-grid {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }
  .dashboard-grid > div {
    display: contents;
  }
  .panel {
    border-radius: 13px;
  }
  .panel-head {
    padding: 19px;
  }
  .panel-title {
    font-size: 12px;
  }
  .panel-title small {
    font-size: 9px;
  }
  .week-strip {
    padding: 14px 13px;
    gap: 2px;
  }
  .week-day {
    font-size: 8px;
  }
  .week-day strong {
    font-size: 17px;
  }
  .agenda {
    padding: 0 18px 6px;
  }
  .agenda-row {
    padding: 16px 0;
    gap: 10px;
  }
  .agenda-text strong {
    font-size: 11px;
  }
  .agenda-text small {
    font-size: 9px;
  }
  .agenda .badge {
    font-size: 7px;
  }
  .task-list {
    padding: 0 19px;
  }
  .task-row {
    padding: 17px 0;
  }
  .task-copy strong {
    font-size: 11px;
  }
  .task-copy small {
    font-size: 9px;
  }
  .task-check {
    width: 19px;
    height: 19px;
  }
  .section-spacer {
    margin-top: 0;
  }
  .toolbar {
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 20px;
  }
  .toolbar-left {
    gap: 7px;
    flex-wrap: wrap;
  }
  .toolbar-right {
    gap: 7px;
  }
  .tabs button {
    font-size: 9px;
    padding: 8px 10px;
    min-height: 31px;
  }
  .input-search {
    max-width: 180px;
    height: 35px;
  }
  .input-search input {
    font-size: 10px;
  }
  .filter-select {
    font-size: 9px;
    max-width: 130px;
    padding: 9px 8px;
  }
  .board-summary {
    font-size: 9px;
    gap: 15px;
    margin-bottom: 22px;
  }
  .board-summary strong {
    font-size: 11px;
  }
  .kanban {
    margin-right: -19px;
    gap: 14px;
    padding-right: 19px;
    scroll-snap-type: x mandatory;
    min-height: 420px;
  }
  .kanban-column {
    flex-basis: calc(100vw - 72px);
    max-width: 345px;
  }
  .column-head {
    font-size: 12px;
    padding-bottom: 18px;
  }
  .column-total {
    font-size: 10px;
  }
  .lead-card {
    padding: 19px;
    touch-action: pan-x pan-y;
  }
  .lead-name {
    font-size: 14px;
  }
  .lead-subtitle {
    font-size: 10px;
  }
  .lead-budget {
    font-size: 18px;
  }
  .lead-tags .badge {
    font-size: 9px;
  }
  .company-name {
    font-size: 10px;
  }
  .company-logo {
    width: 34px;
    height: 34px;
    font-size: 12px;
  }
  .card-top {
    margin-bottom: 15px;
  }
  .card-next {
    font-size: 10px;
    padding-top: 15px;
  }
  .card-next .avatar {
    width: 24px;
    height: 24px;
    font-size: 8px;
  }
  .lead-card .card-more {
    opacity: 1;
    width: 31px;
    height: 31px;
    right: 8px;
    top: 13px;
  }
  .column-add {
    height: 42px;
    font-size: 11px;
  }
  .mobile-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 35;
    background: #fdfdfff5;
    backdrop-filter: blur(16px);
    border-top: 1px solid #e8ebf2;
    padding: 8px 13px calc(9px + env(safe-area-inset-bottom));
    justify-content: space-around;
    gap: 4px;
  }
  .mobile-nav a {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 5px;
    font-size: 8px;
    color: #a7afbd;
    padding: 3px 12px;
    min-width: 55px;
  }
  .mobile-nav a .icon {
    width: 20px;
    height: 20px;
  }
  .mobile-nav a.active {
    color: #8c77bb;
  }
  .mobile-nav a.active:after {
    content: "";
    position: absolute;
    bottom: 4px;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #a493ce;
  }
  .calendar-panel {
    overflow: auto;
  }
  .calendar-weekdays,
  .calendar-grid {
    min-width: 595px;
  }
  .calendar-cell {
    min-height: 104px;
  }
  .calendar-weekdays div {
    font-size: 9px;
  }
  .calendar-event {
    font-size: 8px;
  }
  .concert-list,
  .call-grid {
    grid-template-columns: 1fr;
  }
  .concert-art {
    height: 150px;
  }
  .concert-body {
    padding: 20px;
  }
  .concert-body h3 {
    font-size: 13px;
  }
  .concert-info {
    font-size: 10px;
  }
  .finance-balance {
    grid-template-columns: 1fr;
    gap: 11px;
  }
  .finance-balance .stat {
    min-height: 120px;
  }
  .finance-balance .stat:first-child {
    grid-column: auto;
  }
  .task-table-row {
    padding: 17px;
    flex-wrap: wrap;
    gap: 10px;
  }
  .task-table-row .task-copy {
    width: calc(100% - 40px);
    flex: none;
  }
  .task-meta {
    padding-left: 29px;
    width: 100%;
    font-size: 9px;
    gap: 13px;
  }
  .task-meta .avatar {
    margin-left: auto;
    width: 22px;
    height: 22px;
    font-size: 8px;
  }
  .task-group-head {
    font-size: 11px;
    padding: 16px 17px;
  }
  .team-layout {
    grid-template-columns: 1fr;
    height: calc(100dvh - 248px);
    min-height: 440px;
  }
  .channels {
    border-right: 0;
    border-bottom: 1px solid #e9edf3;
    padding: 10px;
    display: flex;
    flex-direction: row;
    overflow: auto;
    gap: 5px;
  }
  .channels-heading,
  .team-mini {
    display: none;
  }
  .channel-button {
    width: auto;
    white-space: nowrap;
    flex-shrink: 0;
    margin: 0;
    font-size: 10px;
    padding: 9px 11px;
    gap: 6px;
  }
  .channel-button .hash {
    font-size: 14px;
  }
  .chat-head {
    padding: 14px 17px;
  }
  .chat-head h3 {
    font-size: 11px;
  }
  .chat-head p {
    font-size: 8px;
  }
  .chat-head .button {
    font-size: 9px;
    padding: 0 9px;
    min-height: 30px;
  }
  .messages {
    padding: 20px 15px 5px;
    min-height: 200px;
  }
  .message {
    max-width: 95%;
    gap: 8px;
    margin-bottom: 20px;
  }
  .message .avatar {
    width: 24px;
    height: 24px;
    font-size: 7px;
  }
  .message-bubble {
    font-size: 11px;
    padding: 11px 13px;
  }
  .message-author {
    font-size: 9px;
    gap: 6px;
  }
  .chat-compose {
    margin: 8px 12px 9px;
    padding: 8px 10px;
  }
  .chat-compose textarea {
    font-size: 11px;
  }
  .chat-footnote {
    font-size: 7px;
    margin-bottom: 10px;
  }
  .team-layout .chat-pane {
    min-height: 0;
  }
  .call-card {
    padding: 22px;
  }
  .call-explainer {
    font-size: 9px;
    padding: 13px 15px;
  }
  .call-card p {
    font-size: 11px;
    min-height: 0;
  }
  .call-card .room-actions .button {
    font-size: 11px;
    min-height: 40px;
  }
  .overlay {
    padding: 15px;
  }
  .modal {
    max-height: calc(100dvh - 30px);
    border-radius: 15px;
  }
  .modal-head {
    padding: 22px 21px 17px;
  }
  .modal-head h2 {
    font-size: 20px;
  }
  .modal-body {
    padding: 5px 21px 23px;
  }
  .form-grid {
    gap: 17px 12px;
  }
  .field label {
    font-size: 10px;
  }
  .field input,
  .field select,
  .field textarea {
    font-size: 16px;
    padding: 10px 11px;
  }
  .field.mobile-full {
    grid-column: 1/-1;
  }
  .form-actions {
    padding-top: 23px;
  }
  .form-actions .button {
    min-height: 42px;
    font-size: 12px;
  }
  .drawer-overlay {
    padding: 0;
  }
  .drawer {
    width: 100%;
  }
  .drawer-body {
    padding: 24px;
  }
  .drawer-head {
    padding: 19px 22px;
  }
  .detail-title {
    font-size: 29px;
  }
  .detail-subtitle {
    font-size: 12px;
  }
  .detail-actions .button {
    font-size: 11px;
    min-height: 39px;
  }
  .detail-section h3 {
    font-size: 12px;
  }
  .detail-data .value {
    font-size: 12px;
  }
  .detail-data .label {
    font-size: 10px;
  }
  .detail-note {
    font-size: 12px;
  }
  .detail-select {
    font-size: 12px;
    padding: 12px;
  }
  .checklist-row {
    font-size: 12px;
    padding: 13px 0;
  }
  .drawer .task-copy strong {
    font-size: 12px;
  }
  .search-large {
    padding: 20px;
  }
  .search-large input {
    font-size: 16px;
  }
  .search-result {
    padding: 15px 10px;
  }
  .search-result strong {
    font-size: 12px;
  }
  .search-result small {
    font-size: 10px;
  }
  .toast {
    font-size: 11px;
    padding: 13px 16px;
    max-width: calc(100vw - 32px);
  }
  #toast-root {
    bottom: 85px;
    left: 16px;
    right: 16px;
  }
  .bottom-note {
    font-size: 9px;
  }
  .content.team-content {
    padding-bottom: 80px;
  }
  .team-content .page-head {
    margin-bottom: 18px;
  }
  .team-content .page-head h1 {
    font-size: 25px;
  }
  .team-content .page-head p {
    display: none;
  }
  .team-content .head-actions .button {
    font-size: 9px;
  }
  .team-content .team-layout {
    height: calc(100dvh - 226px);
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
/* Final readability pass: calm presentation should not make working text faint. */
body {
  font-family:
    "Manrope Variable",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
.card-next span:not(.avatar) {
  flex: 1;
}
.card-next .avatar {
  flex: 0 0 23px;
  width: 23px;
  height: 23px;
}
.sidebar {
  overflow-y: auto;
}
.nav a {
  font-size: 12px;
  color: #71798b;
}
.page-head p {
  font-size: 12px;
  color: #7c8598;
}
.eyebrow,
.nav-label {
  color: #8791a5;
}
.stat-top {
  font-size: 11px;
  color: #7d879a;
}
.stat-bottom {
  font-size: 10px;
  color: #8b94a6;
}
.stat-value {
  font-size: 30px;
}
.panel-title {
  font-size: 14px;
}
.panel-title small {
  font-size: 10px;
  color: #8e98aa;
}
.link-button {
  font-size: 11px;
  color: #848ea3;
}
.agenda-text strong {
  font-size: 12px;
}
.agenda-text small {
  font-size: 10px;
  color: #929db0;
}
.agenda-date {
  font-size: 11px;
  color: #8c98ac;
}
.task-copy strong {
  font-size: 12px;
  color: #606c82;
}
.task-copy small {
  font-size: 10px;
  color: #909caf;
}
.badge {
  font-size: 9px;
}
.badge.purple {
  color: #8a70af;
}
.badge.green {
  color: #65947e;
}
.badge.peach {
  color: #ad845e;
}
.badge.blue {
  color: #6d8ab2;
}
.badge.red {
  color: #ab6d77;
}
.activity-row {
  font-size: 10px;
  color: #8c97aa;
}
.activity-row small {
  font-size: 9px;
  color: #9ca8bb;
}
.funnel-bar span {
  font-size: 9px;
  color: #919db0;
}
.tabs button {
  font-size: 11px;
}
.button {
  font-size: 12px;
}
.input-search input {
  font-size: 11px;
}
.filter-select {
  font-size: 11px;
  color: #7e8ca3;
}
.board-summary {
  font-size: 11px;
}
.column-head {
  font-size: 12px;
  color: #727f97;
}
.column-total {
  font-size: 10px;
  color: #99a5b9;
}
.company-name {
  font-size: 10px;
  color: #8f9bb0;
}
.lead-name {
  font-size: 14px;
  color: #505f79;
}
.lead-subtitle {
  font-size: 10px;
  color: #9aa6bb;
}
.lead-budget {
  font-size: 17px;
}
.lead-budget small {
  font-size: 10px;
  color: #9ca8bb;
}
.card-next {
  font-size: 10px;
  color: #8d9bb1;
}
.column-add {
  font-size: 10px;
}
.data-table th {
  font-size: 11px;
  color: #8b98ad;
}
.data-table td {
  font-size: 12px;
  color: #71809a;
}
.data-table .primary-text {
  font-size: 13px;
}
.data-table small {
  font-size: 10px;
  color: #8f9eb5;
}
.task-meta {
  font-size: 10px;
}
.task-group-head {
  font-size: 12px;
}
.channel-button {
  font-size: 12px;
}
.chat-head h3 {
  font-size: 14px;
}
.chat-head p {
  font-size: 10px;
  color: #919fb5;
}
.message-author {
  font-size: 10px;
  color: #798aa5;
}
.message-bubble {
  font-size: 12px;
  color: #7889a4;
}
.message.own .message-bubble {
  color: #8b75b0;
}
.chat-compose textarea {
  font-size: 12px;
  color: #7587a4;
}
.chat-footnote {
  font-size: 9px;
  color: #9aa8bc;
}
.call-card h3 {
  font-size: 15px;
}
.call-card p {
  font-size: 12px;
  color: #8a9ab2;
}
.call-explainer {
  font-size: 11px;
  color: #9181ab;
}
.bottom-note {
  font-size: 10px;
  color: #9eabc0;
}
.detail-data .label {
  font-size: 11px;
  color: #94a2b9;
}
.detail-data .value {
  font-size: 13px;
  color: #71829f;
}
.detail-note {
  font-size: 13px;
  color: #8799b4;
}
.detail-section h3 {
  font-size: 13px;
}
.form-hint {
  font-size: 10px;
  color: #94a2b8;
}
.field label {
  font-size: 11px;
  color: #8191aa;
}
.field input,
.field select,
.field textarea {
  font-size: 13px;
}
.checklist-row {
  font-size: 12px;
  color: #8193b0;
}
.form-actions .button {
  font-size: 12px;
}
.settings-section p {
  font-size: 12px;
  color: #899ab5;
}
.settings-section h3 {
  font-size: 14px;
}
.search-result strong {
  font-size: 13px;
}
.search-result small {
  font-size: 11px;
}
.concert-body h3 {
  font-size: 14px;
}
.concert-info {
  font-size: 11px;
  color: #929fb5;
}
.week-day {
  font-size: 10px;
}
.week-day strong {
  font-size: 18px;
}
.agenda-date {
  width: 49px;
}
.task-row {
  padding-block: 18px;
}
@media (max-width: 760px) {
  .page-head p {
    font-size: 11px;
  }
  .stat-top {
    font-size: 10px;
  }
  .stat-bottom {
    font-size: 9px;
    line-height: 1.6;
  }
  .stat-value {
    font-size: 24px;
  }
  .panel-title {
    font-size: 13px;
  }
  .link-button {
    font-size: 10px;
  }
  .agenda-text strong {
    font-size: 11px;
  }
  .agenda-text small {
    font-size: 9px;
  }
  .agenda-date {
    font-size: 10px;
    width: 44px;
  }
  .task-copy strong {
    font-size: 12px;
  }
  .task-copy small {
    font-size: 10px;
  }
  .badge {
    font-size: 8px;
  }
  .stats {
    gap: 11px;
  }
  .stat {
    padding: 17px 15px;
  }
  .tabs button {
    font-size: 10px;
  }
  .input-search input {
    font-size: 11px;
  }
  .filter-select {
    font-size: 10px;
  }
  .board-summary {
    font-size: 10px;
  }
  .column-head {
    font-size: 12px;
  }
  .company-name {
    font-size: 11px;
  }
  .lead-name {
    font-size: 15px;
  }
  .lead-subtitle {
    font-size: 11px;
  }
  .lead-budget {
    font-size: 18px;
  }
  .card-next {
    font-size: 11px;
  }
  .card-next .avatar {
    flex-basis: 24px;
  }
  .channel-button {
    font-size: 11px;
  }
  .chat-head h3 {
    font-size: 12px;
  }
  .chat-head p {
    font-size: 9px;
  }
  .message-bubble {
    font-size: 12px;
  }
  .chat-compose textarea {
    font-size: 16px;
  }
  .chat-footnote {
    font-size: 8px;
  }
  .field input,
  .field select,
  .field textarea {
    font-size: 16px;
  }
  .call-explainer {
    font-size: 10px;
  }
  .mobile-nav a {
    font-size: 9px;
  }
  .mobile-nav a .icon {
    width: 21px;
  }
  .bottom-note {
    font-size: 10px;
  }
  .task-meta {
    font-size: 10px;
  }
  .team-layout {
    min-height: 465px;
  }
  .sidebar.mobile-open .nav a {
    height: 39px;
  }
  .sidebar.mobile-open .workspace-switch {
    margin-bottom: 18px;
  }
  .sidebar-footer {
    padding-top: 18px;
  }
  .sidebar.mobile-open .demo-note {
    margin-bottom: 10px;
  }
  .sidebar.mobile-open .logo small {
    display: none;
  }
}
/* AA-oriented secondary copy palette on the light working surfaces. */
.nav a,
.subtle,
.muted,
.page-head p,
.stat-top,
.stat-bottom,
.link-button,
.agenda-text small,
.agenda-date,
.task-copy small,
.activity-row,
.activity-row small,
.funnel-bar span,
.column-total,
.company-name,
.lead-subtitle,
.card-next,
.data-table th,
.data-table small,
.task-meta,
.chat-head p,
.chat-footnote,
.call-card p,
.bottom-note,
.detail-data .label,
.detail-note,
.form-hint,
.field label,
.settings-section p,
.search-result small,
.concert-info,
.week-day,
.profile-info small,
.demo-note,
.workspace-copy small,
.breadcrumb,
.search-trigger,
.board-summary {
  color: #68758b;
}
.badge {
  color: #66758c;
}
.badge.purple {
  color: #745b9e;
}
.badge.green {
  color: #497a61;
}
.badge.peach {
  color: #956b45;
}
.badge.blue {
  color: #54759f;
}
.badge.red {
  color: #995460;
}
.lead-budget small {
  color: #7b879b;
}
.company-logo {
  font-size: 11px;
}
.eyebrow,
.nav-label {
  color: #778399;
}
.stat.featured .stat-top,
.stat.featured .stat-bottom {
  color: #c5cad7;
}
.field input::placeholder,
.input-search input::placeholder {
  color: #7b869b;
}
.chat-compose textarea::placeholder {
  color: #7a879d;
}
.message-author small {
  color: #7f8ca0;
}
.message-bubble {
  color: #5d6e88;
}
.message.own .message-bubble {
  color: #6d528f;
}
.message-author {
  color: #5b6d88;
}
.detail-note,
.detail-data .value,
.checklist-row {
  color: #657690;
}
.calendar-weekdays div,
.day-number {
  color: #6b7b94;
}
.calendar-event {
  color: #6e568e;
}
.calendar-event:nth-of-type(even) {
  color: #547a68;
}
.column-add {
  color: #7e8ca4;
}
.mobile-nav a {
  color: #738198;
}
.mobile-nav a.active {
  color: #745999;
}
.demo-note strong {
  color: #617089;
}
.nav a,
.subtle,
.muted,
.page-head p,
.stat-top,
.stat-bottom,
.link-button,
.agenda-text small,
.agenda-date,
.task-copy small,
.activity-row,
.activity-row small,
.funnel-bar span,
.column-total,
.company-name,
.lead-subtitle,
.card-next,
.data-table th,
.data-table small,
.task-meta,
.chat-head p,
.chat-footnote,
.call-card p,
.bottom-note,
.detail-data .label,
.detail-note,
.form-hint,
.field label,
.settings-section p,
.search-result small,
.concert-info,
.week-day,
.profile-info small,
.demo-note,
.workspace-copy small,
.breadcrumb,
.search-trigger,
.board-summary {
  color: #627087;
}
.eyebrow,
.nav-label,
.lead-budget small {
  color: #627087;
}
.badge {
  color: #5e6c83;
}
.badge.peach {
  color: #8c613c;
}
.detail-note,
.detail-data .value,
.checklist-row {
  color: #5e6f88;
}
.column-add {
  color: #69778d;
}
.stat.featured .stat-top,
.stat.featured .stat-bottom {
  color: #c5cad7;
}
.empty-column {
  color: #7a879c;
}
.empty-state p {
  color: #6b7890;
}
.empty-state h3 {
  color: #5f6c85;
}

.archive-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.archive-row > span {
  min-width: 0;
}
.archive-row strong,
.archive-row small {
  display: block;
  overflow-wrap: anywhere;
}
.archive-row strong {
  font-size: 13px;
}
.archive-row small {
  margin-top: 5px;
  color: #627087;
  font-size: 11px;
}
.archive-row .button {
  flex-shrink: 0;
}

/* Operational text remains readable on the deliberately pale workspace surfaces. */
.logo small,
.key,
.today-chip,
.stat-value small,
.panel-title small,
.activity-row strong,
.tabs button,
.toolbar-meta strong,
.column-head .title,
.column-add,
.data-table td,
.toolbar-right > span,
.calendar-weekdays,
.calendar-weekdays > div,
.day-number,
.calendar-cell.outside .day-number,
.task-group-head,
.channels-heading,
.channel-button,
.chat-date,
.message-author small,
.call-explainer {
  color: #5b687c;
}
.workspace-symbol {
  color: #5e4ea8;
}
.week-day.active,
.week-day.active strong {
  color: #6955a3;
}
.badge.green {
  color: #426d56;
}
.badge.blue {
  color: #4d668d;
}
.company-logo {
  color: #576a7e;
}
.filter-select,
#manager-filter,
.search-box input,
.search-field input {
  color: #5b687c;
}
input::placeholder,
textarea::placeholder {
  color: #647087;
  opacity: 1;
}
.calendar-event small {
  color: #6f598f;
  font-size: 9px;
}
.channel-button.active {
  color: #725a9c;
}
.call-explainer > div {
  color: #6e5b85;
}
.input-search input,
.board-summary strong,
.chat-compose textarea,
.field input,
.field select,
.field textarea {
  color: #5b687c;
}
.input-search input::placeholder,
.field input::placeholder,
.chat-compose textarea::placeholder {
  color: #647087;
  opacity: 1;
}
.calendar-event small {
  opacity: 1;
}
.card-next-date {
  display: block;
  margin-top: 4px;
  font-size: 9px;
  line-height: 1.35;
  font-weight: 600;
  color: #665d7c;
}
.card-next-date.overdue {
  color: #9f344a;
}
.restore-list {
  padding-left: 20px;
  margin: 18px 0;
  line-height: 1.8;
  color: #454a60;
}
/* Team channels and explicitly marked demo direct conversations. */
.channels {
  min-height: 0;
}
.conversation-tabs {
  display: flex;
  gap: 3px;
  padding: 3px;
  background: #eef0f6;
  border-radius: 9px;
  margin-bottom: 14px;
}
.conversation-tabs button {
  flex: 1;
  padding: 8px 5px;
  border-radius: 6px;
  font-size: 11px;
  color: #647087;
  white-space: nowrap;
}
.conversation-tabs button[aria-pressed="true"] {
  background: #fff;
  color: #3c4053;
  box-shadow: 0 1px 4px #2c355512;
}
.conversation-tabs small {
  font-size: 8px;
  margin-left: 2px;
  color: #6a5d86;
}
.conversation-list {
  overflow-y: auto;
  min-height: 0;
  flex: 1;
}
.conversation-copy {
  flex: 1;
  min-width: 0;
}
.conversation-copy strong {
  display: block;
  font-size: 11px;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
}
.conversation-copy small {
  display: block;
  font-size: 8px;
  margin-top: 4px;
  color: #69748a;
  overflow: hidden;
  text-overflow: ellipsis;
}
.channel-button .avatar {
  flex: 0 0 27px;
  width: 27px;
  height: 27px;
  font-size: 10px;
}
.conversation-empty {
  font-size: 11px;
  line-height: 1.7;
  color: #687288;
  padding: 16px 9px;
}
.chat-title {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.chat-title > div {
  min-width: 0;
}
.direct-demo-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 11px 22px;
  background: #f6f3fc;
  color: #64527d;
  border-bottom: 1px solid #eae3f5;
  font-size: 10px;
  line-height: 1.6;
}
.direct-demo-note .icon {
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  margin-top: 2px;
}
.demo-profile-shortcut {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  color: #626e85;
  margin-top: 13px;
  padding: 6px 0;
}
.demo-profile-shortcut .icon {
  width: 12px;
  height: 12px;
}
@media (max-width: 760px) {
  .channels {
    flex-direction: column;
    overflow: hidden;
    gap: 0;
    padding: 9px 12px;
  }
  .conversation-tabs {
    width: 100%;
    max-width: 320px;
    margin: 0 0 7px;
    flex: 0 0 auto;
  }
  .conversation-tabs button {
    padding: 7px;
    font-size: 11px;
    min-height: 32px;
  }
  .conversation-list {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 4px;
    flex: 0 0 auto;
    scrollbar-width: thin;
  }
  .conversation-copy small {
    display: none;
  }
  .conversation-copy strong {
    font-size: 10px;
  }
  .channel-button .avatar {
    width: 23px;
    height: 23px;
    flex-basis: 23px;
  }
  .conversation-empty {
    padding: 5px 2px;
    font-size: 10px;
  }
  .team-layout {
    grid-template-rows: auto minmax(0, 1fr);
  }
  .direct-demo-note {
    font-size: 9px;
    padding: 8px 14px;
  }
  .chat-head .chat-title p {
    font-size: 9px;
  }
  .chat-title > .avatar {
    width: 25px;
    height: 25px;
    flex: 0 0 25px;
  }
}
.conversation-tabs button {
  color: #566077;
}
.conversation-copy small {
  color: #586379;
}
@media (max-width: 760px) {
  .conversation-tabs button {
    min-height: 38px;
  }
}
@media (max-width: 360px) {
  .team-content .page-head {
    flex-wrap: wrap;
    gap: 9px;
  }
  .team-content .head-actions {
    width: 100%;
  }
  .team-content .head-actions .button {
    flex: 1;
    justify-content: center;
  }
}
.mobile-nav a {
  color: #5d6b82;
}
@media (max-width: 760px) {
  .sidebar {
    visibility: hidden;
  }
  .sidebar.mobile-open {
    visibility: visible;
  }
}
@media (max-width: 760px) {
  .team-content .page-head {
    align-items: center;
    margin-bottom: 13px;
  }
  .team-content .page-head .eyebrow {
    display: none;
  }
  .team-content .page-head h1 {
    font-size: 22px;
    margin: 0;
  }
}
/* Let the mobile composer use the keyboard area without the bottom bar covering it. */
@media (max-width: 760px) {
  body:has(.chat-compose textarea:focus) .mobile-nav {
    display: none;
  }
}
/* Import is staged: choosing a file never mutates the contact directory. */
.modal.import-modal {
  width: 880px;
}
.import-body h3 {
  margin: 22px 0 9px;
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -0.6px;
}
.import-steps {
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 0 0 20px;
  margin: 0 0 22px;
  border-bottom: 1px solid #edf0f5;
  color: #657089;
  font-size: 11px;
}
.import-steps li {
  display: flex;
  gap: 8px;
  align-items: center;
}
.import-steps li > span {
  border: 1px solid #dbe0eb;
  border-radius: 50%;
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  font-size: 10px;
}
.import-steps li.active {
  color: #5744ca;
  font-weight: 700;
}
.import-steps li.active > span {
  color: white;
  background: #6654d9;
  border-color: #6654d9;
}
.import-safety {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  background: #f3f5fb;
  border: 1px solid #e7eaf4;
  border-radius: 12px;
  color: #58667e;
  font-size: 11px;
  line-height: 1.7;
}
.import-safety > svg {
  flex: 0 0 18px;
  width: 18px;
  margin-top: 2px;
  color: #6c59ce;
}
.import-file-drop {
  border: 1px dashed #c8cee3;
  border-radius: 16px;
  background: linear-gradient(130deg, #fbfbff, #f5f5fd);
  padding: 28px;
  text-align: center;
  margin: 20px 0;
}
.import-file-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin: auto;
  border-radius: 16px;
  background: white;
  box-shadow: 0 7px 20px #66678d13;
  color: #7963d7;
}
.import-file-icon svg {
  width: 26px;
  height: 26px;
}
.import-file-drop h3 {
  margin: 14px 0 8px;
}
.import-file-drop p {
  max-width: 480px;
  margin: 0 auto 18px;
  font-size: 12px;
  line-height: 1.8;
  color: #5e6b82;
}
.import-file-label {
  display: none;
}
.import-file-drop input[type="file"] {
  display: block;
  margin: 0 auto;
  width: min(100%, 360px);
  font: inherit;
  font-size: 12px;
  color: #58667e;
  border: 1px solid #dcdfee;
  padding: 7px;
  border-radius: 9px;
  background: white;
}
.import-file-drop input::file-selector-button {
  border: 0;
  border-radius: 6px;
  background: #6855d9;
  color: white;
  padding: 9px 12px;
  margin-right: 10px;
  font: inherit;
  cursor: pointer;
}
#import-file-status {
  display: block;
  margin-top: 12px;
  font-size: 11px;
  color: #63708a;
}
.import-file-options,
.import-mapping {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.import-body label:not(.button) {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #56627a;
  font-size: 11px;
  font-weight: 600;
  min-width: 0;
}
.import-body select {
  border: 1px solid #dfe3ee;
  border-radius: 8px;
  background: #fafbfe;
  padding: 11px;
  font: inherit;
  font-size: 12px;
  color: #39465d;
  min-width: 0;
  width: 100%;
}
.import-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 22px;
  margin-top: 18px;
  border-top: 1px solid #edf0f5;
}
.import-actions .button {
  justify-content: center;
}
.import-file-summary {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid #e4e8f0;
  border-radius: 10px;
  font-size: 12px;
  color: #53617b;
  min-width: 0;
}
.import-file-summary strong {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}
.import-file-summary span {
  white-space: nowrap;
}
.import-file-summary svg {
  flex: 0 0 18px;
}
.import-help {
  margin: 24px 0 8px;
  padding: 13px 15px;
  background: #f7f8fc;
  border-radius: 10px;
  font-size: 11px;
  color: #56627a;
}
.import-help summary {
  cursor: pointer;
  font-weight: 650;
}
.import-help p {
  line-height: 1.8;
  margin: 12px 0 0;
}
.import-error {
  background: #fff2f1;
  color: #a32f38;
  border: 1px solid #f2d5d7;
  padding: 12px 15px;
  font-size: 12px;
  border-radius: 10px;
  line-height: 1.7;
  margin-top: 16px;
  overflow-wrap: anywhere;
}
.import-error[hidden] {
  display: none;
}
.import-totals {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 18px 0;
}
.import-totals > div {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 18px;
  border: 1px solid #e4e7f1;
  border-radius: 12px;
  background: #fbfbfe;
}
.import-totals strong {
  font-size: 26px;
  font-weight: 550;
  letter-spacing: -0.8px;
  color: #27364f;
}
.import-totals span {
  font-size: 10px;
  color: #657088;
}
.import-totals > div:first-child {
  background: #f0f8f5;
  border-color: #d8e9e2;
}
.import-totals > div:first-child strong {
  color: #287357;
}
.import-preview-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
  margin: 20px 0 12px;
}
.import-preview-toolbar label {
  width: 220px;
}
.import-preview-toolbar > span {
  padding-bottom: 11px;
  font-size: 10px;
  color: #647089;
  text-align: right;
}
.import-rows {
  max-height: 260px;
  overflow: auto;
  padding: 1px 5px 1px 1px;
  scrollbar-width: thin;
}
.import-row {
  border: 1px solid #e3e7f0;
  border-radius: 10px;
  padding: 14px 15px;
  margin: 0 0 9px;
}
.import-row-title {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 12px;
}
.import-row-title > strong {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}
.import-row-number {
  color: #758097;
  font-size: 10px;
}
.import-row-status {
  font-size: 9px;
  color: #30664e;
  background: #edf7f1;
  padding: 4px 7px;
  border-radius: 5px;
}
.import-row.duplicate .import-row-status {
  color: #8b5a1a;
  background: #fff5e3;
}
.import-row.invalid .import-row-status {
  color: #a33942;
  background: #fff0f1;
}
.import-row-data {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 18px;
  margin: 8px 0 0 18px;
  color: #62708a;
  font-size: 10px;
  overflow-wrap: anywhere;
}
.import-row-data > span {
  min-width: 0;
}
.import-row p {
  font-size: 10px;
  color: #6c5961;
  line-height: 1.6;
  margin: 10px 0 0 18px;
  overflow-wrap: anywhere;
}
.import-pagination {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 10px;
}
.import-pagination .button {
  font-size: 10px;
  min-height: 36px;
  padding: 8px 14px;
}
.import-final-note {
  margin-top: 18px;
  padding: 15px;
  background: #f5f3fc;
  border-radius: 10px;
  color: #554b7d;
  font-size: 12px;
  line-height: 1.7;
}
.import-recovery-file {
  font-weight: 600;
  font-size: 13px;
  color: #4d5b75;
  overflow-wrap: anywhere;
}
.import-success {
  text-align: center;
  padding: 35px 20px;
}
.import-success > span {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  margin: auto;
  border-radius: 50%;
  background: #eaf6ef;
  color: #2f8559;
}
.import-success > span svg {
  width: 28px;
  height: 28px;
}
.import-success > p {
  font-size: 13px;
  line-height: 1.8;
  color: #52617b;
}
.import-body .form-hint {
  line-height: 1.8;
}
@media (max-width: 760px) {
  .content:has(#kanban) > .page-head,
  .content:has(#contact-search) > .page-head {
    flex-wrap: wrap;
    gap: 14px;
  }
  .content:has(#contact-search) > .page-head .head-actions {
    width: 100%;
  }
  .content:has(#contact-search) > .page-head .head-actions .button {
    flex: 1;
    justify-content: center;
  }
  .import-body {
    padding: 5px 18px 24px;
  }
  .import-steps {
    font-size: 9px;
    gap: 4px;
  }
  .import-steps li {
    gap: 4px;
  }
  .import-steps li > span {
    width: 20px;
    height: 20px;
    font-size: 9px;
  }
  .import-file-drop {
    padding: 22px 13px;
  }
  .import-file-options,
  .import-mapping {
    grid-template-columns: 1fr;
    gap: 13px;
  }
  .import-actions {
    gap: 9px;
  }
  .import-actions .button {
    flex: 1 1 120px;
    font-size: 11px;
  }
  .import-totals {
    gap: 6px;
  }
  .import-totals > div {
    padding: 12px 9px;
  }
  .import-totals span {
    line-height: 1.5;
  }
  .import-totals strong {
    font-size: 23px;
  }
  .import-preview-toolbar {
    gap: 10px;
  }
  .import-preview-toolbar label {
    width: 180px;
  }
  .import-row {
    padding: 12px 10px;
  }
  .import-row-title {
    flex-wrap: wrap;
  }
  .import-row-status {
    margin-left: 18px;
  }
  .import-row-data {
    display: grid;
    gap: 5px;
  }
  .import-row-title > strong {
    flex-basis: calc(100% - 30px);
  }
  .import-rows {
    max-height: 310px;
  }
}
.import-body .import-recovery-confirm {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
  margin-top: 18px;
  padding: 14px;
  border: 1px solid #e4d9bb;
  border-radius: 10px;
  background: #fffaf0;
  font-size: 11px;
  line-height: 1.8;
  color: #6d5a32;
}
.import-recovery-confirm input {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin-top: 1px;
  accent-color: #6855d9;
}
.contact-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 12px;
  margin-bottom: 10px;
  border: 1px solid #e2e6ef;
  border-radius: 9px;
  color: #5a6880;
  background: #fafbfe;
  font-size: 10px;
}
.contact-pagination > div {
  display: flex;
  gap: 4px;
}
.contact-pagination .icon-btn {
  width: 32px;
  height: 32px;
  background: white;
  border: 1px solid #dfe4ee;
}
.contact-pagination [data-page-delta="-1"] svg {
  transform: rotate(180deg);
}
.contact-pagination button:disabled {
  opacity: 0.4;
  cursor: default;
}
.kanban-column > .contact-pagination {
  margin: 0 9px 10px;
  padding: 6px 8px;
}
@media (max-width: 760px) {
  .contact-pagination .icon-btn {
    width: 38px;
    height: 38px;
  }
}
.column-head .count {
  color: #637189;
}
.avatar {
  color: #53617f;
}
.avatar.purple {
  color: #675083;
}
.avatar.peach {
  color: #865b47;
}
.avatar.green {
  color: #486b58;
}
/* Typed links to existing CRM records. No file upload or copied records. */
.chat-compose {
  display: block;
}
.composer-input-row {
  display: flex;
  gap: 8px;
  align-items: center;
  min-width: 0;
}
.composer-input-row .attach-chat-button {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  color: #6b5b9b;
  border-radius: 9px;
}
.composer-input-row .attach-chat-button:hover {
  background: #f1edf9;
}
.composer-attachments {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  max-height: 180px;
  overflow-y: auto;
  padding-top: 10px;
  border-top: 1px solid #e7e8ef;
  margin-top: 8px;
}
.composer-attachments:empty,
.message-attachments:empty {
  display: none;
}
.composer-attachment {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
  padding: 7px 7px 7px 10px;
  border: 1px solid #e1ddec;
  border-radius: 9px;
  background: #faf9fe;
  color: #65578a;
}
.composer-attachment > span:nth-child(2) {
  min-width: 0;
}
.composer-attachment small,
.message-attachment small,
.attachment-option small {
  display: block;
  color: #59677d;
  font-size: 10px;
  margin-bottom: 2px;
}
.composer-attachment strong {
  display: block;
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
  font-weight: 600;
  color: #414a5e;
}
.composer-attachment .icon-btn {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
}
.message-attachments {
  display: grid;
  gap: 7px;
  margin-top: 7px;
  width: 340px;
  max-width: 100%;
}
.message-attachment,
.attachment-option {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px;
  border: 1px solid #dedfea;
  border-radius: 11px;
  background: #fff;
  text-align: left;
  min-width: 0;
  color: #47536b;
}
.message-attachment:hover,
.attachment-option:hover {
  border-color: #b6a7d6;
  background: #fcfbff;
}
.message-attachment > span:nth-child(2),
.attachment-option > span:nth-child(2) {
  flex: 1;
  min-width: 0;
}
.message-attachment strong,
.attachment-option strong {
  display: block;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.message-attachment > .icon {
  flex: 0 0 16px;
  width: 16px;
}
.attachment-symbol {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  color: #7662ac;
  background: #f0ecf8;
}
.modal.attachment-picker {
  width: 670px;
}
.attachment-picker-controls {
  display: flex;
  gap: 10px;
  margin: 18px 0 14px;
}
.attachment-picker-controls .input-search {
  flex: 1;
  min-width: 0;
  min-height: 40px;
  max-width: none;
  width: 100%;
}
.attachment-picker-controls input {
  width: 100%;
  min-width: 0;
}
.attachment-picker-controls select {
  border: 1px solid #dce1ec;
  border-radius: 9px;
  background: #fff;
  padding: 0 10px;
  min-height: 40px;
  color: #536179;
  font-size: 12px;
  max-width: 45%;
}
.attachment-results {
  display: grid;
  gap: 8px;
  max-height: min(44vh, 410px);
  overflow-y: auto;
  padding: 2px;
}
.attachment-option.selected {
  background: #f5f1fd;
  border-color: #9c8bc1;
}
.attachment-selection {
  flex: 0 0 20px;
  color: #765aaa;
}
.attachment-picker-pages {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
}
.attachment-picker-pages > span {
  margin-right: auto;
  color: #59677d;
  font-size: 11px;
}
.attachment-picker .form-actions {
  align-items: center;
  justify-content: space-between;
}
#attachment-selected-count {
  font-size: 12px;
  color: #536179;
}
@media (max-width: 760px) {
  .composer-input-row {
    gap: 6px;
  }
  .composer-input-row .attach-chat-button {
    width: 36px;
    flex-basis: 36px;
  }
  .composer-attachment {
    width: 100%;
  }
  .composer-attachment > span:nth-child(2) {
    flex: 1;
  }
  .composer-attachment strong {
    max-width: none;
  }
  .composer-attachments {
    max-height: 142px;
  }
  .composer-attachment .icon-btn {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }
  .attachment-picker-controls {
    flex-direction: column;
  }
  .attachment-picker-controls select {
    max-width: 100%;
  }
  .attachment-results {
    max-height: 39vh;
  }
  .message-attachment {
    padding: 10px;
    gap: 8px;
  }
  .message-attachment strong,
  .attachment-option strong {
    font-size: 12px;
  }
}

/* Saved task views: one database, several projections. */
.task-view-tabs{display:flex;align-items:center;gap:7px;overflow-x:auto;padding:2px 0 15px;margin-bottom:6px;scrollbar-width:thin}
.task-view-tabs>.button{flex:none;white-space:nowrap}
.task-view-toolbar{gap:12px;flex-wrap:wrap}
.task-view-actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap;font-size:11px}
.task-filters{display:flex;flex-wrap:wrap;gap:12px;align-items:end;padding:16px;background:#fff;border:1px solid #e8ebf0;border-radius:13px}
.task-filters>label{display:flex;flex-direction:column;gap:6px;font-size:11px;color:#627086;min-width:145px}
.task-filters input:not([type=checkbox]),.task-filters select,.task-card-bottom select{font:inherit;font-size:12px;border:1px solid #dfe5ee;background:#fff;border-radius:7px;padding:9px 10px;color:#34445e;max-width:100%}
.task-filters .task-search-label{flex:1;min-width:210px}
.task-filters .task-focus-option{flex-direction:row;align-items:center;align-self:center;min-width:auto;margin-top:17px;color:#34445e}
.task-focus-option input{accent-color:#687b9e;width:15px;height:15px}
.task-view-caption{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;color:#7c889b;font-size:11px;margin:13px 2px 18px;line-height:1.6}
.task-list-view .task-meta{flex-wrap:wrap;justify-content:flex-end;max-width:52%;gap:7px}
.task-list-view .task-meta>span:not(.avatar):not(.badge){font-size:11px;color:#7b8798}
.task-board{display:grid;grid-template-columns:repeat(3,minmax(240px,1fr));gap:16px;overflow-x:auto;padding-bottom:8px}
.task-board-column{border:1px solid #e3e8ee;border-radius:13px;background:#f4f6f9;padding:13px;min-width:0}
.task-board-column>h3{display:flex;align-items:center;justify-content:space-between;font-size:12px;color:#55637a;margin:3px 3px 15px}
.task-board-card{padding:15px;background:#fff;border:1px solid #e6eaf0;border-radius:10px;margin-bottom:10px;box-shadow:0 2px 5px #26354a04}
.task-board-card .task-copy{display:block;width:100%;text-align:left;padding:0}
.task-board-card .task-copy strong{font-size:13px;line-height:1.6;overflow-wrap:anywhere}
.task-card-dates{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0;color:#7a879a;font-size:10px}
.task-card-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px}
.task-card-bottom select{font-size:11px;padding:6px;max-width:75%}
.task-calendar-controls{display:flex;align-items:center;gap:14px;margin-top:15px;font-size:13px;color:#55637a}
.task-calendar-scroll{overflow-x:auto}
.task-calendar{min-width:700px}
.task-calendar .calendar-cell{min-height:125px;height:auto}
.task-calendar .calendar-event{white-space:normal;overflow-wrap:anywhere;text-align:left;width:100%;font-size:11px;line-height:1.5}
.task-calendar .calendar-event small{display:block;white-space:normal;line-height:1.45}
.task-event-done{opacity:.6;text-decoration:line-through}
@media(max-width:760px){.task-filters{gap:10px;padding:12px}.task-filters>label{flex:1;min-width:130px}.task-filters .task-search-label{min-width:100%;order:3}.task-filters .task-focus-option{margin-top:6px;flex:auto}.task-list-view .task-table-row{flex-wrap:wrap;gap:9px}.task-list-view .task-copy{flex:1;min-width:180px}.task-list-view .task-meta{max-width:100%;width:100%;padding-left:32px;justify-content:flex-start}.task-board{grid-template-columns:repeat(3,270px)}.task-view-toolbar .tabs{width:100%}.task-view-actions{width:100%}.task-view-caption{font-size:10px}}
.concert-project{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin:7px 0 14px;color:#7a879b;font-size:12px;line-height:1.5}.concert-project strong{font-weight:500;color:#566780;overflow-wrap:anywhere}
.project-artist-nav{margin:8px 0 15px;max-height:210px;overflow:auto}.project-artist-nav .nav-label{margin-bottom:8px}.project-artist-nav>a{display:flex;align-items:center;gap:9px;padding:8px 13px 8px 19px;color:#7b889b;font-size:11px;text-decoration:none;border-radius:7px}.project-artist-nav>a:hover,.project-artist-nav>a.active{background:#edf1f7;color:#536783}.project-artist-nav>a>span:nth-child(2){overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.project-artist-nav>a small{font-size:10px;opacity:.7}.project-artist-dot{width:5px;height:5px;background:#a0aec2;border-radius:50%}.project-artist-empty{display:block;padding:0 19px;font-size:10px;color:#9aa5b4;line-height:1.6}.project-concert-card{margin-top:14px;text-align:left}.project-concert-card h3{margin-top:16px}.project-venue{font-size:11px;color:#8b98aa;margin-top:8px}

/* Explicit manual focus action; automatic focus stays date/status-driven. */
.task-focus-action{display:flex;flex-direction:column;align-items:flex-start;gap:4px;flex-shrink:0}
.task-focus-action small{font-size:11px;line-height:1.35;color:var(--muted,#6b7280);max-width:220px}
.task-focus-button{border:1px solid currentColor;font-weight:650;white-space:normal;text-align:left;min-height:36px}
.task-board-card>.task-focus-action{margin:10px 0}
@media(max-width:650px){.task-row{flex-wrap:wrap}.task-row>.task-focus-action{margin-left:34px}.task-meta .task-focus-action{width:100%}}
/* Accessible stage control belongs to the card, not to the browser default UI. */
.request-stage-label{display:flex;flex-direction:column;gap:7px;margin-top:13px;padding-top:13px;border-top:1px solid #edf0f5;font-size:11px;font-weight:600;color:#627087;min-width:0}
.request-stage-label select{display:block;width:100%;max-width:100%;min-width:0;min-height:40px;padding:8px 10px;border:1px solid #dfe5ee;border-radius:8px;background:#f8f9fc;color:#34445e;font:inherit;font-size:12px;cursor:pointer}
.request-stage-label select:hover{border-color:#a79bce}
@media(pointer:coarse){.request-stage-label select{min-height:44px}}
/* Focus action gets its own row in compact overview cards. */
.task-row{flex-wrap:wrap}
.task-row>.task-focus-action{flex-basis:calc(100% - 28px);margin-left:28px;flex-direction:row;flex-wrap:wrap;align-items:center;gap:8px}
.task-row>.task-copy{min-width:120px}
.task-row>.task-focus-action small{max-width:none;flex:1;min-width:150px}
.task-focus-button{min-height:40px}
@media(pointer:coarse){.task-focus-button{min-height:44px}}
.calendar-month-label{font-size:12px;color:#5b687c;min-width:125px;text-align:center}
/* Legibility fixes found while reviewing both palettes. */
html:not([data-theme="dark"]) :is(.project-artist-nav>a,.task-view-caption,.concert-project,.project-venue){color:#59677d}
html:not([data-theme="dark"]) .task-list-view .task-meta>span:not(.avatar):not(.badge){color:#59677d}

.board-drag-handle, [data-drag-id], [data-request-drag] { touch-action:none; cursor:grab; min-width:40px; min-height:40px; }
.task-board-card.dragging { opacity:.55; }
.task-board-column.drag-over { outline:2px solid var(--accent,#7766ba); outline-offset:-2px; }
@media(max-width:760px){.board-drag-handle,[data-drag-id],[data-request-drag]{min-width:44px;min-height:44px;}}

.lead-card, .task-board-card { -webkit-user-select:none; user-select:none; }

/* Artist workspace: existing tokens keep light/dark parity. */
.artist-project-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:16px}
.artist-project-tile{padding:24px;color:inherit;text-decoration:none;overflow-wrap:anywhere}
.artist-project-tile h2{font-size:22px;margin:0 0 14px}.artist-project-tile p{margin-bottom:24px}
.artist-tabs,.artist-shortcuts{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0 24px}
.artist-tabs .button{white-space:normal}.artist-section{margin:20px 0;overflow:hidden}
.artist-section .artist-shortcuts{padding:0 20px}.artist-warning{border:1px solid currentColor;border-radius:10px;padding:14px;margin:12px 0;overflow-wrap:anywhere}
.artist-section .artist-warning{margin:14px}.artist-record-list .agenda-row{width:100%;text-align:left}
.artist-project-tile:focus-visible,.artist-tabs a:focus-visible{outline:3px solid currentColor;outline-offset:3px}
@media(max-width:600px){.artist-project-grid{grid-template-columns:1fr}.artist-tabs{gap:6px}.artist-tabs .button{min-height:44px;font-size:12px}.artist-section .agenda-row{padding:14px}.artist-section .agenda-text{min-width:0;overflow-wrap:anywhere}.artist-section .table-wrap{max-width:100%;overflow-x:auto}}

/* Narrow phones: readable selects and catalogue help. */
@media(max-width:480px){.form-grid{grid-template-columns:minmax(0,1fr)}}

/* Readable secondary text in light detail drawers and utility dialogs. */
html[data-theme="light"] .detail-subtitle,
html[data-theme="light"] .detail-section h3,
html[data-theme="light"] .settings-section h3,
html[data-theme="light"] .search-result strong,
html[data-theme="light"] .checklist-row .done-text,
html[data-theme="light"] #global-search,
html[data-theme="light"] #global-search::placeholder { color:#59677d; }
html[data-theme="light"] .detail-select { color:#665187; }

html[data-theme="light"] .empty-state p,
html[data-theme="light"] .empty-column {color:#59677d;}
html[data-theme="light"] .error-text {color:#a42638;}
[role="region"][tabindex="0"]:focus-visible{outline:3px solid #7766ba;outline-offset:2px;}
html[data-theme="dark"] [role="region"][tabindex="0"]:focus-visible{outline-color:#b6adff;}

.detail-city-label{font-size:9px;color:#59677d;margin-top:6px}
html[data-theme="dark"] .detail-city-label{color:#b8c3d7}
/* Keep artist navigation usable when the fixed sidebar is shorter than its content. */
.sidebar{overflow-y:auto}
.project-artist-nav{flex-shrink:0}

/* Project context is secondary to the page heading and primary action. */
.project-filter { margin: 0 0 24px; align-items: center; gap: 16px; }
.project-filter > label { flex: 0 1 280px; min-width: 0; }
.project-filter-help { font-size: 12px; color: var(--muted, #59667d); }
.project-filter-help summary { cursor: pointer; padding: 12px 4px; }
.project-filter-help summary:focus-visible { outline: 2px solid var(--accent, #6b58b5); outline-offset: 3px; border-radius: 4px; }
.project-filter-help p { max-width: 54ch; margin: 0 0 8px; line-height: 1.6; }
.project-filter-warning { flex-basis: 100%; margin: 0; font-size: 12px; line-height: 1.6; }
@media(max-width:480px) {
  .project-filter { gap: 4px; margin-bottom: 20px; }
  .project-filter > label, .project-filter-help { flex: 1 1 100%; }
  .project-filter select { min-height: 44px; }
}
html[data-theme="dark"] .project-filter-help { color: #b8c3d7; }
.project-artist-empty { color: #59667d; }
html[data-theme="dark"] .project-artist-empty { color: #b8c3d7; }
.task-archive-action { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line,#dfe5ee); }
.task-archive-action p { font-size: 12px; line-height: 1.6; }
.task-archive-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.task-archive-action .button { min-height: 44px; }
html[data-theme="light"] .task-archive-action .button.danger { color: #a13d4e; }

.board-navigation { display: grid; grid-template-columns: minmax(0,320px) 44px 44px; gap: 8px; align-items: end; margin: 0 0 16px; }
.board-navigation label { display: grid; gap: 6px; min-width: 0; font-size: 12px; }
.board-navigation select { width: 100%; min-width: 0; min-height: 44px; padding: 9px; border: 1px solid #dfe5ee; border-radius: 8px; background: #fff; color: #34445e; font: inherit; }
.board-navigation-arrow { width: 44px; min-height: 44px; padding: 0; font-size: 20px; }
.board-navigation-hint { grid-column: 1/-1; margin: 0; color: #59667d; font-size: 12px; line-height: 1.5; }
html[data-theme="dark"] .board-navigation select { background:#1a2130; border-color:#3b465b; color:#edf1fa; }
html[data-theme="dark"] .board-navigation-hint { color:#b8c3d7; }
@media(max-width:760px) {
  .topbar { gap: 4px; }
  .topbar .mobile-menu,.topbar .search-trigger { flex: 0 0 44px; width:44px; min-width:44px; height:44px; min-height:44px; padding:0; justify-content:center; }
  .top-actions { gap: 4px; }
  .top-actions > .button { min-height:44px; }
  .breadcrumb { min-width:0; overflow:hidden; }
  .breadcrumb strong { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .head-actions .button,.toolbar .button,.tabs button,.task-view-actions .button,.project-filter-help summary { min-height:44px; }
  .tabs { flex-wrap:wrap; }
  .tabs button { display:inline-flex; align-items:center; justify-content:center; }
  .input-search { min-height:44px; }
  .filter-select { min-height:44px; }
  .board-navigation { grid-template-columns:minmax(0,1fr) 44px 44px; }
}
@media(max-width:760px) {
  .button,.icon-btn,.task-view-tabs button,.task-copy { min-height:44px; }
  .icon-btn { min-width:44px; }
  .task-view-tabs { gap:8px; }
}
@media(max-width:760px) { .button.small { min-height:44px; } }
html[data-theme="light"] .task-card-dates { color:#59667d; }
.board-navigation[hidden] { display:none; }

/* Contact-only compact mobile layout, preserving 44px controls. */
@media(max-width:480px) {
  #view.contacts-compact { padding-top:16px; }
  .contacts-compact .page-head { gap:8px; margin-bottom:12px; }
  .contacts-compact .page-head .eyebrow { margin-bottom:4px; }
  .contacts-compact .page-head h1 { margin-bottom:4px; }
  .contacts-compact .head-actions { gap:8px; }
  .contacts-compact .project-filter { padding:8px; gap:8px; margin-bottom:12px; align-items:end; }
  .contacts-compact .project-filter > label { flex:1 1 140px; }
  .contacts-compact .project-filter-help { flex:0 1 104px; }
  .contacts-compact .project-filter-help summary { padding:6px 0; display:list-item; min-height:44px; line-height:1.4; }
  .contacts-compact .project-filter-help[open] { flex:1 1 100%; }
  .contacts-compact .toolbar { gap:8px; margin-bottom:12px; }
  .contacts-compact .toolbar-left { width:100%; gap:8px; flex-wrap:nowrap; align-items:stretch; }
  .contacts-compact .toolbar-left .tabs { flex:1 1 auto; flex-wrap:nowrap; }
  .contacts-compact .toolbar-left .tabs button { padding:8px; }
  .contacts-compact .toolbar-left > .button { flex:0 1 112px; white-space:normal; line-height:1.3; padding:6px 8px; }
  .contacts-compact .toolbar-right { width:100%; gap:8px; }
  .contacts-compact .input-search { flex:1; min-width:0; }
  .contacts-compact .board-summary { margin-bottom:12px; gap:10px; }
  .contacts-compact .board-navigation { margin-bottom:8px; gap:6px 8px; }
  .contacts-compact .column-head { padding-bottom:8px; }
}

@media(max-width:480px){.contacts-compact .project-filter.has-project-selection > label,.contacts-compact .project-filter.has-project-selection .project-filter-help{flex:1 1 100%;}}

/* Shared linear scale; count and labels never depend on bar height. */
.funnel-chart{height:auto;min-height:206px;align-items:stretch;gap:12px;padding:20px 20px 16px}
.funnel-bar{display:grid;grid-template-rows:24px 100px auto;align-content:start;justify-content:stretch;gap:8px;height:auto;min-width:0;padding:0}
.funnel-bar b{margin:0;line-height:24px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.funnel-track{height:100px;display:flex;align-items:flex-end;min-width:0}
.funnel-bar .bar{height:var(--height);min-height:0;width:100%;flex:none}
.funnel-bar span{margin:0;font-size:11px;line-height:1.35;white-space:normal;overflow:visible;text-overflow:clip;overflow-wrap:anywhere}
@media(max-width:480px){.funnel-chart{gap:6px;padding:16px 10px}.funnel-bar b{font-size:15px}.funnel-bar span{font-size:10px}}

.funnel-bar .funnel-label-short{display:none}
@media(max-width:480px){.funnel-bar .funnel-label-full{display:none}.funnel-bar .funnel-label-short{display:block}}
