* {
  box-sizing: border-box;
}
:root {
  --teal: #007579;
  --cyan: #00abc4;
  --magenta: #bb2c91;
  --ink: #20343d;
  --muted: #73828b;
  --line: #e7ecef;
  --canvas: #f6f8fa;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family: Inter, "Segoe UI", sans-serif;
  font-size: 14px;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  outline-offset: 4px;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
a {
  color: var(--teal);
}
.initial {
  padding: 80px;
  text-align: center;
}
.app-shell {
  display: grid;
  grid-template-columns: 244px 1fr;
  min-height: 100vh;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 244px;
  background: #fff;
  border-right: 1px solid var(--line);
  padding: 30px 18px 18px;
  display: flex;
  flex-direction: column;
  z-index: 20;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px 22px;
}
.brand img {
  width: 142px;
  height: 72px;
  object-fit: contain;
}
.workspace-switch {
  display: flex;
  gap: 11px;
  padding: 14px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  margin: 6px 0 27px;
  align-items: center;
}
.workspace-switch b {
  font-size: 12px;
}
.workspace-switch small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-top: 4px;
}
.workspace-icon {
  background: #e3f5f4;
  color: var(--teal);
  width: 31px;
  height: 31px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 12px;
}
.nav-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.4px;
  color: #929ca5;
  margin: 0 14px 10px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 0;
  width: 100%;
  text-align: left;
  padding: 12px 14px;
  color: #677880;
  background: transparent;
  border-radius: 7px;
  margin-bottom: 4px;
  font-size: 13px;
  font-weight: 500;
}
.nav-item svg {
  width: 18px;
  height: 18px;
}
.nav-item:hover {
  background: #f4f8f8;
}
.nav-item.active {
  background: #e7f5f3;
  color: var(--teal);
  font-weight: 650;
}
.count {
  margin-left: auto;
  background: #f5e9f2;
  color: #a72b83;
  padding: 2px 7px;
  font-size: 10px;
  border-radius: 5px;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 40px;
}
.privacy-card {
  background: linear-gradient(130deg, #f3f8f7, #f6eff7);
  border: 1px solid #e9edf0;
  border-radius: 10px;
  padding: 15px;
  margin-bottom: 16px;
}
.privacy-card strong {
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.privacy-card p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 0;
}
.profile {
  border-top: 1px solid var(--line);
  padding: 17px 7px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.avatar {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #e2f2f1;
  color: var(--teal);
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}
.profile strong {
  font-size: 12px;
}
.profile small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-top: 4px;
}
.icon-button {
  border: 0;
  background: none;
  color: #74858c;
  padding: 6px;
  display: inline-flex;
}
.icon-button svg {
  width: 18px;
  height: 18px;
}
.main-shell {
  grid-column: 2;
  min-width: 0;
}
.topbar {
  height: 79px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 0 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.breadcrumb {
  font-size: 12px;
  color: #8b969d;
  display: flex;
  align-items: center;
  gap: 12px;
}
.breadcrumb strong {
  font-weight: 500;
  color: #3c505a;
}
.top-tools {
  display: flex;
  align-items: center;
  gap: 20px;
}
.search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f7f9fa;
  border: 1px solid #edf0f2;
  padding: 9px 12px;
  border-radius: 7px;
}
.search svg {
  width: 15px;
  color: #8f9ca5;
}
.search input {
  border: 0;
  background: none;
  font-size: 11px;
  width: 190px;
  outline: none;
}
.local-badge {
  font-size: 10px;
  border: 1px solid #e4dfc6;
  background: #fcfaee;
  border-radius: 5px;
  padding: 5px 8px;
  color: #827138;
  white-space: nowrap;
}
.content {
  padding: 34px 38px;
  max-width: 1600px;
  margin: auto;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 28px;
}
.eyebrow {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  color: var(--teal);
  font-weight: 700;
  margin-bottom: 10px;
}
h1 {
  font-size: 27px;
  letter-spacing: -0.8px;
  margin: 0 0 8px;
  font-weight: 650;
}
h2 {
  font-size: 15px;
  margin: 0;
  font-weight: 650;
}
h3 {
  font-size: 14px;
  margin: 0 0 8px;
}
.subtext {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
  margin: 0;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  background: #fff;
  color: #3f555f;
  border-radius: 7px;
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}
.btn svg {
  width: 15px;
  height: 15px;
}
.btn.primary {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
  box-shadow: 0 3px 7px #00757915;
}
.btn.primary:hover {
  background: #005e62;
}
.btn.ghost {
  background: none;
  border: 0;
  padding: 6px 0;
  color: var(--teal);
}
.btn.danger {
  color: #b34959;
}
.actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.welcome {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding: 26px 28px;
  border: 1px solid #d9e9e8;
  border-radius: 12px;
  background: linear-gradient(110deg, #eef9f6 0%, #f4f9fb 65%, #f4edf6 100%);
  position: relative;
  overflow: hidden;
  margin-bottom: 24px;
}
.welcome:after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border: 25px solid #00a9b908;
  border-radius: 50%;
  right: 28%;
  top: -70px;
  pointer-events: none;
}
.welcome h2 {
  font-size: 20px;
  letter-spacing: -0.4px;
  margin-bottom: 8px;
}
.welcome p {
  font-size: 12px;
  color: #68858a;
  margin: 0;
  line-height: 1.7;
}
.welcome .date-block {
  text-align: right;
  white-space: nowrap;
  font-size: 11px;
  color: #758c92;
  line-height: 1.9;
}
.welcome .date-block strong {
  display: block;
  color: #3c686e;
  font-weight: 500;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 30px;
}
.stat {
  background: #fff;
  border: 1px solid var(--line);
  padding: 20px;
  border-radius: 10px;
}
.stat-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: #74848d;
}
.stat-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #edf7f7;
  color: var(--teal);
}
.stat-icon svg {
  width: 17px;
  height: 17px;
}
.stat:nth-child(2) .stat-icon {
  background: #eff0fc;
  color: #8174be;
}
.stat:nth-child(3) .stat-icon {
  background: #fff4e9;
  color: #c59247;
}
.stat:nth-child(4) .stat-icon {
  background: #f9edf5;
  color: #b04e91;
}
.stat-value {
  font-size: 28px;
  font-weight: 650;
  margin: 12px 0 8px;
  letter-spacing: -1px;
}
.stat-foot {
  font-size: 10px;
  color: #89979f;
  display: flex;
  align-items: center;
  gap: 5px;
}
.positive {
  color: #36957d;
}
.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 17px;
  gap: 15px;
}
.section-title p {
  font-size: 11px;
  color: var(--muted);
  margin: 6px 0 0;
}
.section-title .btn {
  font-size: 11px;
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 26px;
}
.project-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px;
  transition: box-shadow 0.2s;
}
.project-card:hover {
  box-shadow: 0 6px 20px #183b4410;
}
.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 19px;
}
.project-symbol {
  height: 36px;
  width: 36px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 18px;
  color: #27868c;
  background: #e8f5f4;
}
.project-symbol.purple {
  background: #f0edfb;
  color: #8a74bc;
}
.project-symbol.pink {
  background: #faedf6;
  color: #b2559b;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  font-size: 9px;
  font-weight: 600;
  padding: 5px 8px;
  border-radius: 5px;
  background: #eaf5f2;
  color: #438e7c;
}
.badge:before {
  content: "";
  width: 4px;
  height: 4px;
  background: currentColor;
  border-radius: 50%;
}
.badge.amber {
  background: #fff5e5;
  color: #b2873e;
}
.badge.purple {
  background: #f2eefb;
  color: #8870b2;
}
.badge.red {
  background: #fceff1;
  color: #b46471;
}
.project-card h3 button {
  border: 0;
  background: none;
  padding: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
  text-align: left;
}
.project-card .client-name {
  font-size: 10px;
  color: #85939c;
  margin: 8px 0 23px;
}
.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #84919a;
  margin-bottom: 8px;
}
.progress-label b {
  font-weight: 600;
  color: #58737d;
}
.progress-track {
  height: 5px;
  background: #edf2f3;
  border-radius: 10px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: #24a5a9;
  border-radius: 10px;
}
.purple .progress-fill {
  background: #a08dcd;
}
.pink .progress-fill {
  background: #cd7caf;
}
.card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid #f0f3f4;
}
.avatars {
  display: flex;
  padding-left: 0;
}
.avatars .avatar {
  width: 25px;
  height: 25px;
  border: 2px solid #fff;
  margin-right: -6px;
  font-size: 8px;
  background: #e5f1f1;
}
.avatars .avatar:nth-child(2) {
  background: #eee6f5;
  color: #9270a3;
}
.avatars .avatar:nth-child(3) {
  background: #f6e8d9;
  color: #a18b66;
}
.due {
  color: #8c99a1;
  font-size: 9px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.due svg {
  width: 12px;
  height: 12px;
}
.lower-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(240px, 1fr);
  gap: 22px;
}
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}
.panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 21px;
  border-bottom: 1px solid var(--line);
}
.panel-head h2 {
  font-size: 13px;
}
.panel-head small {
  font-size: 10px;
  color: var(--muted);
}
.table-wrap {
  overflow: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  white-space: nowrap;
}
th {
  padding: 12px 20px;
  font-size: 9px;
  color: #9ba5ab;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  background: #fcfdfe;
  border-bottom: 1px solid var(--line);
}
td {
  font-size: 11px;
  padding: 17px 20px;
  border-bottom: 1px solid #f0f3f5;
}
tbody tr:last-child td {
  border-bottom: 0;
}
.task-title {
  display: flex;
  gap: 9px;
  align-items: center;
  font-weight: 500;
}
.task-dot {
  width: 14px;
  height: 14px;
  border: 1px solid #d5e0e3;
  border-radius: 4px;
  display: grid;
  place-items: center;
  color: #188e83;
  font-size: 10px;
}
.task-dot.done {
  background: #e7f5f0;
  border-color: #cfebe3;
}
.priority {
  font-size: 10px;
  color: #ae8955;
}
.priority.High {
  color: #c17478;
}
.priority.Low {
  color: #6b9a8a;
}
.priority:before {
  content: "⚑";
  margin-right: 4px;
}
td select {
  font-size: 10px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
  color: #687f88;
  max-width: 145px;
}
.task-project {
  font-size: 9px;
  color: #9aa7ae;
  margin: 5px 0 0 23px;
}
.activity-list {
  padding: 5px 21px;
}
.activity-item {
  display: flex;
  gap: 11px;
  padding: 16px 0;
  border-bottom: 1px solid #f1f4f5;
}
.activity-item:last-child {
  border: 0;
}
.activity-icon {
  background: #eef7f6;
  color: #409b91;
  border-radius: 7px;
  width: 29px;
  height: 29px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
}
.activity-icon svg {
  width: 13px;
  height: 13px;
}
.activity-item p {
  margin: 1px 0 6px;
  font-size: 11px;
  line-height: 1.6;
}
.activity-item small {
  font-size: 9px;
  color: #9aa6ae;
}
.footer-note {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: #a0aab0;
  margin-top: 25px;
  padding: 0 1px;
}
.empty {
  padding: 45px 25px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}
.filter-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.filter-tab {
  border: 1px solid transparent;
  background: none;
  color: #83939b;
  padding: 8px 13px;
  font-size: 11px;
  border-radius: 6px;
}
.filter-tab.active {
  background: #fff;
  border-color: var(--line);
  color: var(--teal);
}
.list-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 22px;
  margin-bottom: 14px;
}
.list-card-head {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: flex-start;
}
.list-card p {
  font-size: 12px;
  line-height: 1.8;
  color: var(--muted);
}
.list-meta {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 10px;
  color: #91a0a7;
  margin: 16px 0;
}
.kanban {
  display: grid;
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  gap: 16px;
  overflow: auto;
}
.kanban-col {
  background: #edf1f4;
  border-radius: 10px;
  padding: 14px;
  min-height: 250px;
}
.kanban-title {
  font-size: 11px;
  margin: 3px 0 16px;
  display: flex;
  justify-content: space-between;
}
.kanban-card {
  padding: 15px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 12px;
}
.kanban-card h3 {
  font-size: 12px;
  line-height: 1.6;
}
.kanban-card p {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.6;
}
.kanban-card select {
  width: 100%;
  font-size: 10px;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 6px;
  background: #fff;
  color: #6c828b;
  margin-top: 12px;
}
.chat-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 500px;
}
.channel-list {
  border-right: 1px solid var(--line);
  padding: 14px;
}
.channel {
  border: 0;
  border-radius: 7px;
  background: none;
  padding: 14px 10px;
  width: 100%;
  text-align: left;
  color: #75848b;
  font-size: 12px;
  margin-bottom: 5px;
  line-height: 1.5;
}
.channel.active {
  background: #e9f6f4;
  color: var(--teal);
}
.chat-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.chat-head {
  padding: 20px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  font-weight: 600;
}
.messages {
  padding: 22px;
  flex: 1;
  max-height: 470px;
  overflow-y: auto;
  background: #fcfdfd;
}
.message {
  margin-bottom: 22px;
  max-width: 80%;
}
.message strong {
  font-size: 10px;
  color: #57818b;
}
.message p {
  font-size: 12px;
  background: #eef5f6;
  border-radius: 0 10px 10px 10px;
  padding: 12px 15px;
  line-height: 1.8;
  margin: 7px 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.message time {
  font-size: 9px;
  color: #92a1a8;
}
.chat-compose {
  padding: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 10px;
}
.chat-compose input {
  flex: 1;
  min-width: 0;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 7px;
}
.detail-summary {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}
.detail-summary .list-card {
  margin: 0;
}
.module-list {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.module {
  border: 1px solid #dceae9;
  background: #f2f8f7;
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 11px;
  color: var(--teal);
}
.settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.settings-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.settings-row span {
  color: var(--muted);
}
.notice {
  background: #fff9ed;
  border: 1px solid #f1e6c9;
  border-radius: 7px;
  padding: 13px 16px;
  font-size: 11px;
  line-height: 1.8;
  color: #8a7954;
  margin-bottom: 20px;
}
.login {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
}
.login-art {
  padding: 70px 12%;
  background: #eaf6f5;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.login-art:after {
  content: "";
  position: absolute;
  right: -160px;
  bottom: -170px;
  height: 500px;
  width: 500px;
  border-radius: 50%;
  border: 80px solid #00a6b00d;
  pointer-events: none;
}
.login-art img {
  width: 175px;
  mix-blend-mode: multiply;
  margin-bottom: 60px;
}
.login-art h1 {
  font-size: 47px;
  line-height: 1.18;
  letter-spacing: -2px;
  max-width: 470px;
  font-weight: 650;
}
.login-art h1 span {
  color: var(--teal);
}
.login-art p {
  line-height: 1.9;
  color: #6f8a90;
  max-width: 370px;
  font-size: 13px;
}
.login-points {
  display: flex;
  gap: 20px;
  font-size: 10px;
  color: #5b8b8b;
  margin-top: 40px;
}
.login-form {
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.login-form-inner {
  width: 100%;
  max-width: 360px;
}
.login-form h2 {
  font-size: 26px;
  letter-spacing: -0.8px;
  margin-bottom: 10px;
}
.login-form form {
  margin-top: 30px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 17px;
}
.field label {
  font-size: 11px;
  font-weight: 600;
  color: #5f747d;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #dce4e8;
  border-radius: 7px;
  color: var(--ink);
  background: #fff;
  font-size: 12px;
}
.field textarea {
  min-height: 100px;
  resize: vertical;
}
.field-help {
  font-size: 10px;
  color: #8999a1;
  line-height: 1.7;
}
.login-form .btn {
  width: 100%;
  padding: 13px;
}
.demo-box {
  background: #f7f9fa;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 15px;
  margin-top: 25px;
}
.demo-box p {
  font-size: 11px;
  color: #8a979d;
  line-height: 1.8;
  margin: 0 0 12px;
}
.demo-roles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}
.demo-roles button {
  padding: 8px;
  border: 1px solid #e1e8eb;
  border-radius: 5px;
  background: #fff;
  color: #5b737d;
  font-size: 10px;
}
.demo-roles button:hover {
  color: var(--teal);
  border-color: #9ac9c7;
}
.form-error {
  color: #b94a61;
  font-size: 12px;
  line-height: 1.8;
  margin: 12px 0;
}
.login-foot {
  font-size: 9px;
  color: #9ba8ae;
  text-align: center;
  margin-top: 25px;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 13px;
  max-width: 530px;
  width: calc(100% - 30px);
  padding: 0;
  color: var(--ink);
  box-shadow: 0 24px 90px #102e3a30;
}
dialog::backdrop {
  background: #15364066;
  backdrop-filter: blur(3px);
}
.modal-head {
  padding: 24px 25px 17px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.modal-head h2 {
  font-size: 18px;
}
.modal-body {
  padding: 23px 25px;
}
.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-top: 20px;
}
.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
#toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  padding: 12px 22px;
  border-radius: 8px;
  background: #23454c;
  color: white;
  box-shadow: 0 4px 20px #102c4420;
  z-index: 100;
  font-size: 12px;
  display: none;
}
.mobile-menu {
  display: none;
}
.security-note {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  color: #74938e;
}
.security-note svg {
  width: 13px;
  height: 13px;
}
.mobile-shade {
  display: none;
}
@media (min-width: 1600px) {
  .content {
    padding-top: 42px;
  }
  .stats {
    gap: 24px;
  }
  .project-grid {
    gap: 24px;
  }
  .project-card {
    padding: 25px;
  }
}
@media (max-width: 1200px) {
  .sidebar {
    width: 210px;
    padding-left: 12px;
    padding-right: 12px;
  }
  .app-shell {
    grid-template-columns: 210px 1fr;
  }
  .content {
    padding: 28px 25px;
  }
  .topbar {
    padding: 0 25px;
  }
  .project-grid {
    gap: 12px;
  }
  .project-card {
    padding: 15px;
  }
  .lower-grid {
    grid-template-columns: 1fr;
  }
  .search input {
    width: 140px;
  }
  .stats {
    gap: 12px;
  }
  .stat {
    padding: 16px;
  }
  .date-block {
    display: none;
  }
  .login-art {
    padding: 50px 10%;
  }
  .login-art h1 {
    font-size: 38px;
  }
}
@media (max-width: 900px) {
  .project-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .chat-layout {
    grid-template-columns: 180px 1fr;
  }
  .detail-summary,
  .settings-grid {
    grid-template-columns: 1fr;
  }
  .top-tools {
    gap: 10px;
  }
  .search {
    display: none;
  }
  .login-art h1 {
    font-size: 32px;
  }
  .login-points {
    flex-direction: column;
    gap: 12px;
  }
}
@media (max-width: 650px) {
  .app-shell {
    display: block;
  }
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.2s;
    width: 244px;
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .mobile-shade.open {
    display: block;
    position: fixed;
    inset: 0;
    background: #14343b55;
    z-index: 19;
  }
  .main-shell {
    width: 100%;
  }
  .topbar {
    height: 65px;
    padding: 0 18px;
  }
  .mobile-menu {
    display: inline-flex;
  }
  .breadcrumb {
    font-size: 11px;
    gap: 8px;
  }
  .breadcrumb .workspace-crumb {
    display: none;
  }
  .content {
    padding: 24px 18px;
  }
  .page-heading {
    align-items: flex-start;
    gap: 14px;
  }
  h1 {
    font-size: 23px;
  }
  .page-heading .actions .btn {
    font-size: 10px;
    padding: 9px;
  }
  .page-heading .subtext {
    font-size: 11px;
  }
  .welcome {
    padding: 21px;
    margin-bottom: 18px;
  }
  .welcome h2 {
    font-size: 18px;
  }
  .welcome p {
    font-size: 11px;
  }
  .stats {
    gap: 10px;
    margin-bottom: 25px;
  }
  .stat {
    padding: 15px;
  }
  .stat-head {
    font-size: 10px;
  }
  .stat-value {
    font-size: 25px;
  }
  .stat-foot {
    font-size: 9px;
  }
  .project-grid {
    grid-template-columns: 1fr;
  }
  .project-card {
    padding: 20px;
  }
  .footer-note {
    font-size: 8px;
    gap: 15px;
  }
  .chat-layout {
    grid-template-columns: 1fr;
  }
  .channel-list {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    display: flex;
    overflow: auto;
    padding: 8px;
    gap: 5px;
  }
  .channel {
    width: auto;
    min-width: 150px;
    font-size: 10px;
    padding: 8px;
  }
  .messages {
    max-height: 380px;
  }
  .message {
    max-width: 95%;
  }
  .login {
    grid-template-columns: 1fr;
  }
  .login-art {
    padding: 28px 30px;
  }
  .login-art img {
    width: 115px;
    margin-bottom: 20px;
  }
  .login-art h1 {
    font-size: 28px;
    letter-spacing: -1px;
    max-width: none;
  }
  .login-art p,
  .login-points {
    display: none;
  }
  .login-form {
    padding: 30px 25px;
  }
  .local-badge {
    font-size: 8px;
  }
  .list-card {
    padding: 18px;
  }
  .row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .section-title h2 {
    font-size: 14px;
  }
}

/* Application shell: every navigation entry remains reachable at any browser zoom. */
.sidebar {
  height: 100dvh;
  padding: 18px 14px 12px;
  overflow: hidden;
  gap: 0;
  background: #fff;
  box-shadow: 2px 0 14px #18383e03;
}
.brand {
  padding: 0 12px 12px;
  flex-shrink: 0;
}
.brand img {
  width: 124px;
  height: 64px;
}
.workspace-switch {
  padding: 11px 10px;
  margin: 0 0 19px;
  flex-shrink: 0;
  background: #fbfdfd;
}
.workspace-switch b {
  display: block;
  max-width: 145px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.nav-label {
  margin-bottom: 10px;
  font-size: 9px;
  flex-shrink: 0;
}
.sidebar nav {
  flex: 1;
  min-height: 90px;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: #cddeda transparent;
  padding-right: 3px;
  overscroll-behavior: contain;
}
.nav-item {
  padding: 10px 12px;
  min-height: 39px;
  margin-bottom: 3px;
  font-size: 12px;
}
.sidebar nav .nav-item.active {
  border-left: 3px solid #008f93;
  padding-left: 9px;
}
.sidebar nav .nav-item:hover {
  color: var(--teal);
}
.sidebar-bottom {
  margin-top: 12px;
  padding-top: 0;
  flex-shrink: 0;
  background: #fff;
  border-top: 1px solid var(--line);
}
.sidebar-footer-links {
  display: flex;
  padding-top: 8px;
  gap: 4px;
}
.sidebar-footer-links .nav-item {
  font-size: 10px;
  gap: 6px;
  padding: 8px 6px;
  min-height: 30px;
  margin: 0;
}
.sidebar-footer-links .nav-item svg {
  height: 14px;
  width: 14px;
}
.profile {
  padding: 10px 5px 0;
  border-top: 0;
}
.profile > div {
  min-width: 0;
  flex: 1;
}
.profile strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sidebar-logout {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  width: 100%;
  background: #f7f9fa;
  border: 1px solid #e6edef;
  color: #6e828c;
  border-radius: 6px;
  margin-top: 10px;
  padding: 8px;
  font-size: 10px;
}
.sidebar-logout svg {
  width: 13px;
  height: 13px;
}
.sidebar-logout:hover {
  background: #fcf0f3;
  color: #a74f67;
}
.topbar {
  height: 74px;
  position: sticky;
  top: 0;
  z-index: 15;
  padding: 0 30px;
  box-shadow: 0 1px 7px #18383e03;
}
.top-tools {
  gap: 14px;
}
.crumb-divider {
  color: #b4c1c7;
  padding: 0 10px;
}
.breadcrumb {
  white-space: nowrap;
  min-width: 0;
}
.workspace-crumb {
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.search {
  background: #f7f9fb;
}
.search input {
  width: 160px;
  font-size: 11px;
}
.profile-shortcut {
  display: flex;
  align-items: center;
  gap: 9px;
  background: none;
  border: 0;
  text-align: left;
  padding: 0;
  color: var(--ink);
}
.profile-shortcut strong {
  font-size: 10px;
  font-weight: 650;
  display: block;
  max-width: 120px;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}
.profile-shortcut small {
  font-size: 9px;
  color: #82919a;
  display: block;
  margin-top: 3px;
}
.avatar {
  overflow: hidden;
}
.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.logout-top {
  padding: 8px 10px;
  font-size: 10px;
}
.logout-top svg {
  height: 14px;
  width: 14px;
}
.notification-bell {
  width: 34px;
  height: 34px;
  position: relative;
  display: grid;
  place-items: center;
  background: #f6faf9;
  border: 1px solid #e6eeed;
  color: #637e84;
  border-radius: 9px;
  flex-shrink: 0;
}
.notification-bell svg {
  height: 18px;
  width: 18px;
}
.notification-bell > span {
  position: absolute;
  right: -4px;
  top: -5px;
  border: 2px solid #fff;
  background: #bc2e91;
  color: #fff;
  font-size: 8px;
  font-weight: 700;
  border-radius: 15px;
  min-width: 17px;
  padding: 2px;
}
.notification-bell > span[hidden] {
  display: none;
}
.contextbar {
  display: flex;
  gap: 22px;
  align-items: center;
  border-bottom: 1px solid #e5ecef;
  background: #fff;
  padding: 11px 30px;
  min-height: 56px;
}
.context-control {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.context-control > span {
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 10px;
  color: #8a9aa3;
  white-space: nowrap;
}
.context-control svg {
  width: 14px;
  height: 14px;
  color: #5d8e92;
}
.context-control select {
  border: 1px solid #e2ebed;
  border-radius: 6px;
  background: #f9fbfc;
  color: #49656e;
  padding: 7px 27px 7px 10px;
  max-width: 235px;
  font-size: 10px;
  min-width: 150px;
}
.scope-control select {
  max-width: 300px;
}
.live-label {
  margin-left: auto;
  color: #71958a;
  font-size: 9px;
  display: flex;
  gap: 6px;
  align-items: center;
  white-space: nowrap;
}
.live-label i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #36a88d;
}
.sample-label {
  background: #f4f7f8;
  border: 1px solid #e7edef;
  padding: 3px 6px;
  border-radius: 4px;
  margin-left: 5px;
  color: #8a99a2;
}
.content {
  padding: 29px 30px 35px;
}
.eyebrow {
  font-size: 9px;
  letter-spacing: 1.5px;
  color: #5c999d;
  margin-bottom: 8px;
}
h1 {
  font-size: 27px;
  font-weight: 650;
  letter-spacing: -0.8px;
}
.page-heading {
  margin-bottom: 21px;
}
.dashboard-intro {
  background: linear-gradient(100deg, #eaf7f3, #f4f8fb 65%, #f8eef6);
  border: 1px solid #deebe8;
  border-radius: 9px;
  padding: 15px 18px;
  margin-bottom: 21px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  font-size: 10px;
  color: #7b9098;
}
.dashboard-intro > div {
  display: flex;
  gap: 5px;
  align-items: center;
  flex-wrap: wrap;
}
.dashboard-intro strong {
  color: #48717a;
  font-weight: 600;
}
.intro-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #47ad99;
  margin-right: 3px;
}
.intro-divider {
  color: #b8ccce;
  margin: 0 8px;
}
.dashboard-intro b {
  font-weight: 500;
  padding: 4px 7px;
  border-radius: 5px;
  margin-left: 10px;
  font-size: 9px;
}
.ontrack-label {
  background: #e2f2ed;
  color: #3d967d;
}
.overdue-label {
  background: #fae9ec;
  color: #ba6377;
}
.upgraded-stats .stat {
  padding: 18px 19px;
  position: relative;
  overflow: hidden;
  border-top: 2px solid #d5ece8;
}
.upgraded-stats .stat:nth-child(2) {
  border-top-color: #e4dff2;
}
.upgraded-stats .stat:nth-child(3) {
  border-top-color: #f0e3c9;
}
.upgraded-stats .stat:nth-child(4) {
  border-top-color: #efd8e9;
}
.stat-value {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mini-bars {
  height: 28px;
  width: 62px;
  display: flex;
  gap: 3px;
  align-items: flex-end;
  opacity: 0.45;
}
.mini-bars i {
  flex: 1;
  background: #89cfcb;
  border-radius: 2px 2px 0 0;
}
.mini-bars.purple i {
  background: #b3a4d8;
}
.mini-bars.amber i {
  background: #dfc08b;
}
.mini-bars.pink i {
  background: #d9a0c4;
}
.analytics-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(290px, 1fr);
  gap: 20px;
  margin-bottom: 27px;
}
.chart-panel .panel-head {
  border-bottom: 0;
  padding-bottom: 7px;
  gap: 12px;
  flex-wrap: wrap;
}
.panel-head p {
  font-size: 10px;
  color: #8d9ea6;
  margin: 6px 0 0;
  font-weight: 400;
}
.panel-head h2 {
  font-size: 13px;
}
.period-picker {
  display: inline-flex;
  background: #f5f8f9;
  border: 1px solid #e8eef0;
  border-radius: 6px;
  padding: 3px;
  gap: 2px;
}
.period-picker button {
  background: none;
  border: 0;
  color: #8b9ca5;
  font-size: 9px;
  padding: 6px 9px;
  border-radius: 4px;
  white-space: nowrap;
}
.period-picker button.active {
  background: #fff;
  color: #197e81;
  box-shadow: 0 1px 5px #294b5512;
}
.chart-summary {
  padding: 15px 21px 0;
  display: flex;
  align-items: baseline;
  gap: 7px;
}
.chart-summary > strong {
  font-size: 24px;
  font-weight: 650;
  color: #2d505c;
}
.chart-summary > span {
  font-size: 10px;
  color: #91a0a7;
}
.chart-summary .chart-legend {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 9px;
}
.legend-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
}
.legend-dot.teal {
  background: #009a9e;
}
.legend-dot.pink {
  background: #ba5a9d;
  margin-left: 6px;
}
.line-chart {
  padding: 8px 15px 0;
}
.line-chart svg {
  width: 100%;
  height: auto;
  display: block;
  max-height: 220px;
}
.line-chart text {
  fill: #97a5ae;
  font-size: 10px;
  font-family: inherit;
}
.chart-footnote {
  font-size: 9px;
  color: #9ba8af;
  margin: 0;
  padding: 0 21px 18px;
  line-height: 1.7;
}
.tiny-chip {
  font-size: 9px;
  color: #7a949e;
  border: 1px solid #e6eef0;
  background: #fafcfd;
  padding: 5px 8px;
  border-radius: 5px;
  white-space: nowrap;
}
.health-chart {
  padding: 21px;
  display: flex;
  align-items: center;
  gap: 22px;
  justify-content: space-around;
  min-height: 225px;
}
.donut {
  width: 138px;
  height: 138px;
  flex-shrink: 0;
  border-radius: 50%;
  padding: 18px;
  transform: rotate(0);
}
.donut > div {
  background: white;
  border-radius: 50%;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.donut strong {
  font-size: 25px;
  font-weight: 650;
  color: #355a66;
  letter-spacing: -1px;
}
.donut span {
  font-size: 9px;
  color: #8e9da6;
  margin-top: 4px;
}
.health-legend {
  flex: 1;
  max-width: 190px;
  min-width: 130px;
}
.health-legend > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  color: #81939c;
  padding: 7px 0;
  gap: 12px;
}
.health-legend span {
  display: flex;
  gap: 7px;
  align-items: center;
}
.health-legend i {
  width: 6px;
  height: 6px;
  border-radius: 2px;
  display: inline-block;
}
.health-legend b {
  font-size: 11px;
  font-weight: 600;
  color: #53717d;
}
.event-timeline {
  padding: 2px 20px;
}
.event-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  padding: 16px 0;
  border: 0;
  border-bottom: 1px solid #eef2f4;
  background: none;
  text-align: left;
  color: var(--ink);
}
.event-row:hover .event-copy strong {
  color: var(--teal);
}
.event-row:last-child {
  border: 0;
}
.event-dot {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 29px;
  height: 29px;
  border-radius: 8px;
  background: #eaf5f4;
  color: #4a9c94;
}
.event-dot svg {
  height: 14px;
  width: 14px;
}
.event-dot.task,
.event-dot.remark {
  background: #efedf8;
  color: #927dc0;
}
.event-dot.document {
  background: #f8eef5;
  color: #b4679e;
}
.event-dot.request {
  background: #fbf2e6;
  color: #b89661;
}
.event-copy {
  flex: 1;
  min-width: 0;
}
.event-copy strong {
  font-size: 10px;
  font-weight: 550;
  line-height: 1.8;
  display: block;
}
.event-copy small {
  font-size: 9px;
  color: #8f9fa9;
  display: block;
  line-height: 1.7;
  margin-top: 3px;
}
.event-row time {
  white-space: nowrap;
  font-size: 8px;
  color: #9aabb3;
  padding-top: 3px;
}
.day-panel {
  margin-top: 20px;
}
.report-filters {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.select-control select {
  border: 1px solid #e1eaed;
  color: #67818c;
  border-radius: 6px;
  background: #fff;
  padding: 9px 30px 9px 12px;
  font-size: 11px;
  max-width: 320px;
}
.filter-summary {
  margin-left: auto;
  color: #91a2ab;
  font-size: 10px;
}
.report-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 23px;
  padding: 20px 0;
}
.report-metrics > div {
  padding: 0 25px;
  border-right: 1px solid #ebf0f2;
}
.report-metrics > div:last-child {
  border: 0;
}
.report-metrics small {
  font-size: 8px;
  color: #94a4ac;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 10px;
}
.report-metrics strong {
  font-size: 26px;
  font-weight: 650;
  letter-spacing: -0.6px;
  color: #315764;
}
.report-metrics em {
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  color: #8ba2ab;
}
.table-link {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  text-align: left;
  font-size: inherit;
  font-weight: 550;
  line-height: 1.7;
}
.table-link:hover {
  color: var(--teal);
}
.cell-subtitle {
  font-size: 9px;
  color: #92a1aa;
  display: block;
  margin-top: 5px;
  max-width: 360px;
  white-space: normal;
  line-height: 1.7;
}
.report-progress {
  width: 100px;
  color: #5f858c;
  font-size: 10px;
}
.report-progress > .progress-track {
  margin-top: 7px;
  height: 4px;
}
.notification-list {
  overflow: hidden;
}
.notification-item {
  width: 100%;
  display: flex;
  align-items: flex-start;
  text-align: left;
  padding: 20px 24px;
  border: 0;
  border-bottom: 1px solid #eaf0f2;
  background: #fff;
  gap: 15px;
  color: var(--ink);
}
.notification-item:last-child {
  border: 0;
}
.notification-item.unread {
  background: #f5fbfa;
}
.notification-item:hover {
  background: #f0f7f6;
}
.notification-item > span:nth-child(2) {
  flex: 1;
}
.notification-item strong {
  font-weight: 600;
  font-size: 12px;
  display: block;
  line-height: 1.7;
}
.notification-item small {
  display: block;
  font-size: 10px;
  line-height: 1.7;
  color: #8a9da6;
  margin: 5px 0;
}
.notification-item time {
  display: block;
  font-size: 9px;
  color: #a0aeb5;
}
.notification-item > svg {
  height: 14px;
  width: 14px;
  color: #91a8ad;
  margin-top: 7px;
}
.unread-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #17a0a2;
  margin-top: 9px;
  flex-shrink: 0;
}
.file-grid {
  display: grid;
  gap: 14px;
}
.file-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 22px;
  display: flex;
  gap: 17px;
}
.file-card-icon {
  display: grid;
  place-items: center;
  background: #eaf5f4;
  color: #439c95;
  border-radius: 9px;
  width: 43px;
  height: 49px;
  flex-shrink: 0;
}
.file-card-icon svg {
  width: 23px;
  height: 23px;
}
.file-card-content {
  flex: 1;
  min-width: 0;
}
.file-card h3 {
  overflow-wrap: anywhere;
}
.file-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 14px 0;
  font-size: 10px;
  color: #8ca0a9;
}
.review-note {
  background: #f7f9fa;
  border-radius: 5px;
  padding: 10px;
  font-size: 11px;
  color: #738995;
  line-height: 1.8;
}
.active-timer {
  border: 1px solid #cfe7df;
  background: #eef9f4;
  border-radius: 10px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 23px;
  flex-wrap: wrap;
}
.active-timer > div {
  flex: 1;
}
.active-timer strong {
  font-size: 12px;
  color: #427d71;
}
.active-timer small {
  display: block;
  color: #87a19b;
  font-size: 9px;
  margin-top: 7px;
}
.active-timer .timer-elapsed {
  font-size: 24px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 1px;
}
.timer-indicator {
  height: 9px;
  width: 9px;
  border-radius: 50%;
  background: #33af8a;
  box-shadow: 0 0 0 5px #37ad8812;
}
.time-review-row {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
  padding: 20px;
  border-bottom: 1px solid var(--line);
}
.time-review-row strong {
  font-size: 12px;
}
.time-review-row p {
  color: #8096a0;
  font-size: 11px;
}
.time-review-row small {
  font-size: 9px;
  color: #9aabb3;
}
.profile-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 22px;
}
.profile-photo-card {
  text-align: center;
  display: flex;
  align-items: center;
  flex-direction: column;
}
.avatar-large {
  width: 100px;
  height: 100px;
  font-size: 28px;
  margin: 12px 0 22px;
  box-shadow: 0 0 0 8px #f1f8f6;
}
.profile-photo-card h2 {
  font-size: 18px;
  margin: 0;
}
.profile-photo-card > p {
  color: #8da0a8;
  font-size: 11px;
  margin: 10px 0 23px;
  line-height: 1.8;
}
.profile-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.access-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.access-tags button {
  display: flex;
  gap: 6px;
  align-items: center;
  border: 1px solid #dcebe8;
  background: #f2f8f7;
  color: #62938e;
  border-radius: 5px;
  padding: 8px 10px;
  font-size: 10px;
}
.access-tags svg {
  width: 13px;
  height: 13px;
}
.permission-checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  background: #f6f9fa;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 7px;
}
.permission-checklist label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 400;
}
.permission-checklist input {
  width: 14px;
  height: 14px;
  accent-color: var(--teal);
  margin: 0;
}
.task-detail-meta {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 10px;
  color: #8a9fa8;
  margin: 14px 0 20px;
}
.task-remarks {
  max-height: 260px;
  overflow: auto;
  margin: 15px 0 20px;
}
.task-remarks article {
  padding: 13px;
  background: #f5f9fa;
  border: 1px solid #e9eff1;
  border-radius: 7px;
  margin-bottom: 10px;
}
.task-remarks strong {
  font-size: 10px;
  color: #5d8e96;
  display: block;
}
.task-remarks small {
  font-size: 9px;
  color: #97a9b0;
  display: block;
  margin-top: 5px;
}
.task-remarks p {
  font-size: 12px;
  line-height: 1.8;
  color: #66818d;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin-bottom: 0;
}
.footer-note > span:first-child {
  display: flex;
  gap: 5px;
  align-items: center;
}
.footer-note svg {
  width: 12px;
  height: 12px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (min-width: 1500px) {
  .content {
    padding: 34px 38px;
  }
  .topbar,
  .contextbar {
    padding-left: 38px;
    padding-right: 38px;
  }
  .analytics-grid {
    grid-template-columns: 1.8fr 1fr;
  }
  .health-chart {
    gap: 30px;
  }
  .donut {
    width: 150px;
    height: 150px;
  }
}
@media (max-height: 720px) {
  .brand img {
    height: 45px;
    width: 100px;
  }
  .brand {
    padding-bottom: 8px;
  }
  .workspace-switch {
    margin-bottom: 12px;
    padding: 8px;
  }
  .sidebar {
    padding-top: 12px;
  }
  .sidebar-logout {
    margin-top: 6px;
    padding: 6px;
  }
  .profile {
    padding-top: 7px;
  }
  .sidebar-bottom {
    margin-top: 8px;
  }
  .sidebar-footer-links {
    padding-top: 4px;
  }
}
@media (max-width: 1250px) {
  .topbar {
    padding: 0 24px;
  }
  .contextbar {
    gap: 15px;
    padding: 10px 24px;
  }
  .context-control > span {
    font-size: 9px;
  }
  .context-control select {
    min-width: 130px;
    max-width: 190px;
  }
  .scope-control select {
    max-width: 225px;
  }
  .live-label {
    display: none;
  }
  .profile-shortcut > span:nth-child(2) {
    display: none;
  }
  .analytics-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(250px, 1fr);
    gap: 16px;
  }
  .health-chart {
    gap: 14px;
    padding: 18px 15px;
  }
  .donut {
    width: 110px;
    height: 110px;
    padding: 14px;
  }
  .donut strong {
    font-size: 22px;
  }
  .health-legend {
    min-width: 105px;
  }
  .health-legend > div {
    font-size: 9px;
  }
  .chart-summary .chart-legend {
    font-size: 8px;
  }
  .search input {
    width: 130px;
  }
}
@media (max-width: 1000px) {
  .analytics-grid {
    grid-template-columns: 1fr;
  }
  .health-chart {
    justify-content: flex-start;
    gap: 40px;
    min-height: 190px;
  }
  .donut {
    width: 135px;
    height: 135px;
    padding: 18px;
  }
  .health-legend {
    max-width: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px 25px;
  }
  .search {
    display: none;
  }
  .context-control > span {
    display: none;
  }
  .contextbar {
    justify-content: space-between;
  }
  .context-control {
    flex: 1;
  }
  .context-control select {
    width: 100%;
    max-width: none;
  }
  .dashboard-intro {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
  .dashboard-intro b {
    margin-left: 8px;
  }
  .profile-layout {
    grid-template-columns: 230px 1fr;
  }
  .content {
    padding: 25px;
  }
  .report-metrics > div {
    padding: 0 16px;
  }
}
@media (max-width: 650px) {
  .sidebar {
    width: 244px;
    height: 100dvh;
  }
  .topbar {
    height: 62px;
    padding: 0 17px;
  }
  .top-tools {
    gap: 11px;
  }
  .profile-shortcut {
    display: none;
  }
  .logout-top {
    border: 0;
    padding: 6px;
  }
  .logout-top > span {
    font-size: 10px;
  }
  .contextbar {
    padding: 10px 17px;
    gap: 10px;
    align-items: stretch;
    min-height: 54px;
  }
  .context-control select {
    min-width: 0;
    font-size: 9px;
    padding: 8px 18px 8px 7px;
  }
  .context-control {
    width: 42%;
    flex: auto;
  }
  .scope-control {
    width: 58%;
  }
  .content {
    padding: 23px 17px;
  }
  .page-heading {
    gap: 12px;
  }
  .eyebrow {
    font-size: 8px;
  }
  h1 {
    font-size: 24px;
  }
  .dashboard-intro {
    font-size: 9px;
    padding: 13px 14px;
    margin-bottom: 17px;
  }
  .intro-divider {
    margin: 0 3px;
  }
  .upgraded-stats .stat {
    padding: 14px;
  }
  .stat-head > span:first-child {
    font-size: 9px;
    max-width: 85px;
    line-height: 1.5;
  }
  .mini-bars {
    width: 40px;
    height: 22px;
    gap: 2px;
  }
  .upgraded-stats .stat-value {
    font-size: 26px;
    margin: 9px 0 6px;
  }
  .stat-foot {
    font-size: 8px;
    line-height: 1.6;
  }
  .analytics-grid {
    gap: 16px;
    margin-bottom: 23px;
  }
  .chart-panel .panel-head {
    padding: 18px 17px 5px;
  }
  .chart-summary {
    padding: 12px 17px 0;
  }
  .chart-summary > strong {
    font-size: 22px;
  }
  .chart-summary .chart-legend {
    font-size: 8px;
    gap: 4px;
  }
  .chart-footnote {
    font-size: 8px;
    padding: 0 17px 15px;
  }
  .line-chart {
    padding: 8px 10px 0;
  }
  .health-chart {
    gap: 25px;
    min-height: 180px;
    padding: 17px;
  }
  .health-legend {
    display: block;
    max-width: 170px;
  }
  .health-legend > div {
    font-size: 9px;
    padding: 5px 0;
  }
  .donut {
    width: 125px;
    height: 125px;
    padding: 16px;
  }
  .report-metrics {
    grid-template-columns: 1fr 1fr;
    gap: 20px 0;
    padding: 20px 0;
  }
  .report-metrics > div:nth-child(2) {
    border-right: 0;
  }
  .report-metrics small {
    font-size: 7px;
    letter-spacing: 0.8px;
  }
  .report-metrics strong {
    font-size: 23px;
  }
  .filter-summary {
    margin-left: 0;
    font-size: 9px;
  }
  .select-control {
    width: 100%;
  }
  .select-control select {
    width: 100%;
    max-width: none;
    font-size: 10px;
  }
  .report-filters {
    gap: 12px;
  }
  .notification-item {
    padding: 17px;
    gap: 11px;
  }
  .notification-item strong {
    font-size: 11px;
  }
  .file-card {
    padding: 16px;
    gap: 11px;
  }
  .file-card-icon {
    width: 32px;
    height: 38px;
  }
  .file-card-icon svg {
    height: 19px;
    width: 19px;
  }
  .file-card .list-card-head {
    flex-direction: column;
    gap: 7px;
  }
  .file-meta {
    font-size: 9px;
    gap: 8px;
    line-height: 1.7;
  }
  .file-card .btn {
    font-size: 9px;
    padding: 8px 10px;
  }
  .profile-layout {
    grid-template-columns: 1fr;
  }
  .profile-photo-card {
    padding: 25px;
  }
  .profile-layout .settings-row {
    font-size: 10px;
    gap: 10px;
  }
  .profile-layout .settings-row span {
    max-width: 60%;
    text-align: right;
    overflow-wrap: anywhere;
  }
  .time-review-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .active-timer {
    gap: 14px;
    padding: 17px;
  }
  .active-timer > div {
    flex-basis: 75%;
  }
  .active-timer .timer-elapsed {
    font-size: 22px;
  }
  .active-timer .btn {
    font-size: 10px;
  }
  .event-timeline {
    padding: 0 16px;
  }
  .event-row {
    gap: 9px;
  }
  .event-copy strong {
    font-size: 10px;
  }
  .event-copy small {
    font-size: 8px;
  }
  .event-row time {
    font-size: 8px;
  }
  .period-picker button {
    font-size: 8px;
    padding: 6px 7px;
  }
  .permission-checklist {
    padding: 12px;
    gap: 10px;
  }
  .permission-checklist label {
    font-size: 10px;
  }
  .notice {
    font-size: 10px;
  }
  .footer-note {
    font-size: 8px;
    align-items: flex-start;
  }
  .footer-note > span:first-child {
    max-width: 70%;
    line-height: 1.7;
  }
  .footer-note svg {
    flex-shrink: 0;
  }
}

.stat-watermark {
  display: grid;
  place-items: center;
  color: #cce7e5;
}
.stat-watermark svg {
  height: 29px;
  width: 29px;
  stroke-width: 1.3;
}
.submit-work-button {
  width: 100%;
  margin-top: 12px;
  background: #edf8f5;
  color: #3e928a;
  border-color: #dceee9;
  font-size: 10px;
}
.workflow-steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 20px;
  margin-bottom: 22px;
  font-size: 11px;
  color: #5d858c;
  flex-wrap: wrap;
}
.workflow-steps i {
  font-style: normal;
  color: #b8ced0;
}
.work-card .work-link {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  font-size: 11px;
  color: var(--teal);
  text-decoration: none;
  padding: 8px 0;
  margin-right: 15px;
}
.work-link svg {
  width: 14px;
  height: 14px;
}
.work-card p {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.strict-chat-notice {
  display: block;
  background: #f9f4e8;
}
.strict-chat-notice > svg {
  width: 14px;
  height: 14px;
  vertical-align: middle;
  margin-right: 6px;
}
.message audio {
  display: block;
  max-width: 100%;
  height: 38px;
  margin: 10px 0;
  width: 300px;
}
.voice-recorder {
  text-align: center;
  padding: 15px 5px;
}
.voice-symbol {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e6f5f1;
  color: var(--teal);
  margin: 0 auto 20px;
}
.voice-symbol svg {
  height: 28px;
  width: 28px;
}
.voice-recorder p {
  font-size: 12px;
  color: #7d969f;
  line-height: 1.9;
}
.voice-recorder .actions {
  justify-content: center;
  margin-top: 22px;
}
.voice-recorder audio {
  max-width: 100%;
}
.modal-body > audio,
.list-card > audio {
  width: 100%;
  max-width: 400px;
}
.task-description {
  font-size: 12px;
  line-height: 1.9;
  color: #6d8792;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
@media (max-width: 650px) {
  .workflow-steps {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 15px;
    font-size: 9px;
    gap: 14px;
  }
  .workflow-steps i {
    display: none;
  }
  .work-card .actions .btn {
    font-size: 10px;
    padding: 9px 11px;
  }
  .work-card .work-link {
    font-size: 10px;
  }
  .chat-compose .btn {
    padding: 9px;
  }
  .page-heading:has([data-action="add-employee"]) {
    flex-direction: column;
  }
  .page-heading .actions {
    gap: 7px;
  }
  .page-heading:has([data-action="add-employee"]) .btn {
    font-size: 9px;
  }
  .message audio {
    width: 100%;
  }
}
/* Codes TechVista workspace: strong navigation and readable collaboration surfaces. */
:root {
  --teal: #087f87;
  --line: #dfe6ed;
  --ink: #172c43;
}
body {
  background: #edf2f7;
  color: var(--ink);
}
.sidebar {
  background: linear-gradient(165deg, #142b43, #102035 75%);
  border-right: 0;
  color: #c6d7e5;
  box-shadow: 7px 0 24px #11273e0c;
}
.sidebar .brand {
  background: #fff;
  border-radius: 12px;
  margin-bottom: 16px;
  padding: 12px;
}
.sidebar .workspace-switch {
  background: #ffffff09;
  border-color: #ffffff1a;
  color: #fff;
}
.sidebar .workspace-switch strong,
.sidebar .profile strong {
  color: #fff;
}
.sidebar .workspace-switch small,
.sidebar .profile small {
  color: #a7bbcd;
}
.sidebar .nav-label,
.sidebar .nav-heading {
  color: #92abc0;
}
.sidebar .nav-item {
  color: #c6d5e2;
  border-radius: 9px;
}
.sidebar .nav-item:hover {
  background: #ffffff0c;
  color: #fff;
}
.sidebar .nav-item.active {
  background: linear-gradient(110deg, #07838d, #146977);
  color: #fff;
  border-left-color: #47d6d6;
  box-shadow: 0 5px 15px #0002;
}
.sidebar .nav-item.active svg {
  color: #fff;
}
.sidebar .sidebar-bottom {
  border-color: #ffffff1a;
}
.sidebar .sidebar-footer-links button {
  color: #b7cbdc;
}
.sidebar .sidebar-logout {
  background: #ffffff08;
  border-color: #ffffff20;
  color: #d6e3ed;
}
.sidebar .profile {
  border-color: #ffffff16;
}
.content {
  background:
    radial-gradient(ellipse at top right, #dfeef142, transparent 45%), #edf2f7;
}
.topbar {
  position: relative;
  box-shadow: 0 1px 10px #132c4410;
}
.contextbar {
  background: #f8fafc;
}
.page-heading h1 {
  letter-spacing: -1px;
  color: #172c43;
}
.page-heading .eyebrow {
  color: #087f87;
}
.btn.primary {
  background: linear-gradient(110deg, #087f87, #08717e);
  border-color: #087f87;
  box-shadow: 0 4px 10px #087f871c;
}
.btn.primary:hover {
  background: #086974;
}
.list-card,
.panel,
.stat-card {
  box-shadow: 0 5px 18px #17304a05;
}
.stat-card {
  border-top-width: 3px;
}
.welcome-strip {
  background: linear-gradient(100deg, #e1f3f0, #ebedf9 75%, #f7e7f2);
  border-color: #c7e4e0;
}
.workflow-steps {
  background: #17354c;
  color: #dbeef2;
  border-color: #17354c;
}
.workflow-steps i {
  color: #50c8c7;
}
.work-card {
  border-top: 3px solid #18a4ad;
}
.work-card .list-card-head h3 {
  font-size: 17px;
}
.feedback-history {
  border-top: 1px solid var(--line);
  margin-top: 22px;
  padding-top: 14px;
}
.feedback-entry {
  background: #f4f7fb;
  padding: 14px;
  border-radius: 9px;
  margin-top: 10px;
  font-size: 12px;
}
.feedback-entry small {
  display: block;
  color: #63798c;
  margin-top: 7px;
}
.client-decision-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 20px;
}
.client-decision-actions .btn {
  font-size: 12px;
}
.filter-panel {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: 10px;
  padding: 16px;
  margin-bottom: 20px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 11px;
}
.filter-panel label {
  display: grid;
  gap: 6px;
  font-size: 10px;
  font-weight: 600;
  color: #526b80;
}
.filter-panel input,
.filter-panel select {
  padding: 9px 11px;
  border: 1px solid #d7e2ea;
  border-radius: 7px;
  color: #243e54;
  background: #f9fbfd;
  font: inherit;
  min-height: 36px;
}
.filter-panel .btn {
  font-size: 11px;
  padding: 9px 12px;
}
.filter-panel small {
  font-size: 11px;
  color: #6b8093;
  align-self: center;
}
.chat-history-filter {
  margin-top: 16px;
}
.chat-top-button {
  white-space: nowrap;
}
.people-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #dce5ec;
  border-radius: 8px;
  background: #f5f9fb;
  padding: 9px 11px;
  color: #2c6171;
  cursor: pointer;
}
.people-button svg {
  width: 17px;
  height: 17px;
}
.people-button b {
  background: #dcefea;
  border-radius: 20px;
  min-width: 19px;
  padding: 2px;
  font-size: 10px;
}
.presence-popover {
  position: absolute;
  right: 20px;
  top: 75px;
  z-index: 40;
  width: min(440px, calc(100vw - 30px));
  max-height: 500px;
  overflow: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 16px 50px #132c4426;
  padding: 14px;
}
.presence-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-bottom: 1px solid #edf1f5;
  font-size: 12px;
}
.presence-row > div {
  flex: 1;
}
.presence-row small {
  display: block;
  margin-top: 5px;
  color: #6d8193;
}
.presence-row .btn {
  font-size: 10px;
  margin-left: auto;
}
.presence-dot {
  width: 9px;
  height: 9px;
  background: #a8b4bf;
  border-radius: 50%;
  flex-shrink: 0;
}
.presence-dot.online {
  background: #22a681;
  box-shadow: 0 0 0 4px #22a68115;
}
.presence-dot.away {
  background: #df9d37;
}
.chat-date-separator {
  text-align: center;
  color: #567184;
  font-size: 10px;
  margin: 10px auto 24px;
  background: #e8eff5;
  border-radius: 20px;
  padding: 7px 14px;
  width: fit-content;
}
.message p {
  background: #e6eff5;
  color: #203c50;
}
.message > strong {
  color: #287485;
}
.chat-head {
  background: #f7fafc;
}
.message time {
  color: #627b8d;
}
.chat-compose {
  background: #f7fafc;
}
@media (max-width: 900px) {
  .topbar {
    flex-wrap: wrap;
    height: auto;
    min-height: 76px;
    padding-top: 12px;
    padding-bottom: 12px;
    gap: 10px;
  }
  .topbar .search {
    display: none;
  }
  .people-button span {
    display: none;
  }
  .chat-top-button {
    padding: 9px;
  }
  .chat-history-filter label {
    flex: 1;
    min-width: 135px;
  }
  .filter-panel input {
    max-width: 100%;
  }
  .filter-panel {
    padding: 12px;
  }
  .presence-popover {
    top: 85px;
  }
  .work-card .list-card-head h3 {
    font-size: 14px;
  }
}
@media print {
  body,
  .content {
    background: white !important;
  }
  .sidebar,
  .topbar,
  .contextbar,
  .filter-panel,
  .page-heading .actions,
  .chat-compose,
  .channel-list,
  .client-decision-actions,
  .work-card .actions,
  .footer-note,
  .notification-dropdown,
  .people-button,
  dialog {
    display: none !important;
  }
  .main,
  .main-content,
  .workspace-main {
    margin: 0 !important;
    width: 100% !important;
  }
  .content {
    padding: 0 !important;
  }
  .panel,
  .list-card,
  .stat-card {
    box-shadow: none !important;
    break-inside: avoid;
  }
  .chat-layout {
    display: block !important;
  }
  .messages {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }
  .chat-main {
    width: 100% !important;
  }
  audio {
    display: none;
  }
  .list-card a:after {
    content: " (" attr(href) ")";
    font-size: 9px;
  }
}
