@font-face {
  font-family: Estedad;
  src: url("/static/fonts/estedad-arabic.f3e0531cb081.woff2") format("woff2");
  font-display: swap;
  font-weight: 100 900;
  unicode-range:
    U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C-200F;
}
@font-face {
  font-family: Estedad;
  src: url("/static/fonts/estedad-latin.efdcae077863.woff2") format("woff2");
  font-display: swap;
  font-weight: 100 900;
}
:root {
  --navy: #081322;
  --navy-soft: #132236;
  --cyan: #12A5BC;
  --cyan-dark: #087d90;
  --cyan-pale: #e9f9fb;
  --text: #17263a;
  --muted: #7b8798;
  --line: #e9edf2;
  --surface: #fff;
  --bg: #f6f8fb;
  --green: #23976a;
  --green-pale: #eaf7ef;
  --amber: #b87c15;
  --amber-pale: #fff5e2;
  --red: #d25461;
  --red-pale: #fff0f1;
  --purple: #8b6bc0;
  --purple-pale: #f2edfb;
  --shadow: 0 4px 20px #142c4614;
  --radius: 14px;
  --sidebar: 252px;
  font-family: Estedad, Arial, sans-serif;
  font-size: 13px;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid #32c2d466;
  outline-offset: 3px;
}
button {
  color: inherit;
}
img {
  max-width: 100%;
}
svg {
  flex-shrink: 0;
}
.icon {
  width: 19px;
  height: 19px;
  vertical-align: middle;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 11px;
}
.strong {
  font-weight: 650;
}
.mono {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}
.nowrap {
  white-space: nowrap;
}
.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.text-start {
  text-align: start;
}
.text-end {
  text-align: end;
}
.text-center {
  text-align: center;
}
.ltr {
  direction: ltr;
  unicode-bidi: isolate;
}
.hidden,
[hidden] {
  display: none !important;
}
.skip-link {
  position: fixed;
  top: -100px;
  inset-inline-start: 20px;
  z-index: 1000;
  background: var(--navy);
  color: #fff;
  padding: 12px;
}
.skip-link:focus {
  top: 10px;
}
.app-shell {
  display: flex;
  min-height: 100vh;
}
.sidebar {
  position: fixed;
  inset-block: 0;
  inset-inline-start: 0;
  width: var(--sidebar);
  background: var(--navy);
  color: #adbacb;
  display: flex;
  flex-direction: column;
  padding: 31px 19px 18px;
  z-index: 50;
  overflow-y: auto;
}
.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  color: #fff;
  padding: 0 14px 30px;
}
.brand img {
  width: 36px;
  height: 39px;
  object-fit: contain;
}
.brand strong {
  color: #12A5BC;
  font-size: 21px;
  font-weight: 760;
  letter-spacing: 3px;
  line-height: 1.3;
  display: block;
}
.brand small {
  display: block;
  font-size: 8px;
  letter-spacing: 1.7px;
  color: #7e92aa;
  margin-top: 4px;
}
html[lang="fa"] .brand strong,
html[lang="fa"] .brand small {
  letter-spacing: 0;
}
.workspace-switch {
  border: 1px solid #ffffff14;
  background: #ffffff04;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 10px;
  margin-bottom: 29px;
}
.workspace-avatar {
  background: #213247;
  border-radius: 8px;
  width: 33px;
  height: 33px;
  display: grid;
  place-items: center;
  color: var(--cyan);
  font-weight: 700;
}
.workspace-switch strong {
  display: block;
  font-size: 11px;
  color: #dbe4f0;
  font-weight: 550;
}
.workspace-switch small {
  display: block;
  font-size: 9px;
  color: #6f829c;
}
.workspace-dot {
  width: 5px;
  height: 5px;
  background: var(--cyan);
  border-radius: 50%;
  margin-inline-start: auto;
}
.nav-label {
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 1.4px;
  color: #53647c;
  padding: 0 14px 10px;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 15px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 450;
  position: relative;
  margin: 3px 0;
  color: #8e9eb4;
  transition:
    background 0.2s,
    color 0.2s;
}
.nav-item .icon {
  width: 18px;
  height: 18px;
  color: #6c809d;
}
.nav-item:hover {
  background: #ffffff06;
  color: #fff;
}
.nav-item.active {
  background: #143743;
  color: #55d5e1;
}
.nav-item.active .icon {
  color: #50cbd9;
}
.nav-item.active:before {
  content: "";
  position: absolute;
  inset-inline-start: -19px;
  width: 3px;
  height: 22px;
  background: var(--cyan);
  border-radius: 3px;
}
.nav-count {
  margin-inline-start: auto;
  font-size: 9px;
  min-width: 18px;
  text-align: center;
  background: #ffffff0b;
  padding: 0 5px;
  border-radius: 4px;
}
.nav-separator {
  height: 1px;
  background: #ffffff09;
  margin: 16px 12px;
}
.sidebar-bottom {
  margin-top: auto;
  padding-top: 30px;
}
.sidebar-note {
  font-size: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #60758f;
  padding: 13px 0;
}
.live-dot {
  width: 5px;
  height: 5px;
  border-radius: 100%;
  background: var(--cyan);
  display: inline-block;
}
.sidebar-user {
  border-top: 1px solid #ffffff0b;
  padding: 18px 4px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.sidebar-user strong {
  font-size: 10px;
  color: #dce5f2;
  display: block;
}
.sidebar-user small {
  color: #627692;
  font-size: 8px;
  display: block;
}
.sidebar-user .icon-button {
  margin-inline-start: auto;
  color: #60758f;
  width: 26px;
}
.app-main {
  margin-inline-start: var(--sidebar);
  width: calc(100% - var(--sidebar));
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}
.topbar {
  height: 78px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
  gap: 20px;
}
.topbar-start,
.topbar-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  color: #929dac;
}
.breadcrumbs .icon {
  width: 12px;
  height: 12px;
}
.breadcrumbs strong {
  font-weight: 500;
  color: #46586f;
}
.search-trigger {
  background: none;
  border: 0;
  color: #9aa5b5;
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 10px;
}
.search-trigger .icon {
  width: 16px;
  height: 16px;
}
.search-trigger kbd {
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0 5px;
  font-family: inherit;
  font-size: 9px;
  margin-inline-start: 20px;
}
.icon-button {
  background: none;
  border: 0;
  border-radius: 7px;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: #7a8a9e;
  flex-shrink: 0;
}
.icon-button:hover {
  background: var(--bg);
  color: var(--text);
}
.icon-button.danger:hover {
  background: var(--red-pale);
  color: var(--red);
}
.language-button {
  background: none;
  border: 1px solid var(--line);
  border-radius: 6px;
  min-width: 32px;
  height: 29px;
  color: #637287;
  font-size: 9px;
  padding: 0 7px;
}
.topbar-divider {
  height: 24px;
  width: 1px;
  background: var(--line);
}
.avatar {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-grid;
  place-items: center;
  background: #e8f2f4;
  color: #278b98;
  font-size: 11px;
  font-weight: 650;
  flex-shrink: 0;
  overflow: hidden;
}
.avatar-small {
  width: 31px;
  height: 31px;
  border-radius: 9px;
  font-size: 10px;
}
.avatar-navy {
  background: #1b3046;
  color: #96bbd2;
}
.avatar-group {
  display: flex;
  padding-inline-start: 4px;
}
.avatar-group .avatar {
  width: 25px;
  height: 25px;
  font-size: 8px;
  border: 2px solid #fff;
  margin-inline-start: -5px;
}
.notifications-trigger {
  position: relative;
}
.notification-dot {
  position: absolute;
  inset-block-start: 6px;
  inset-inline-end: 7px;
  width: 6px;
  height: 6px;
  border-radius: 100%;
  background: var(--cyan);
  border: 1.5px solid #fff;
}
#main {
  padding: 34px 40px 25px;
  flex: 1;
  min-width: 0;
  max-width: 1750px;
  width: 100%;
  margin: 0 auto;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 26px;
}
.eyebrow {
  color: var(--cyan-dark);
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 6px;
}
.page-heading h1 {
  font-size: 25px;
  letter-spacing: -0.65px;
  font-weight: 680;
  line-height: 1.5;
  margin: 0 0 5px;
}
.page-heading p {
  margin: 0;
  color: #8590a1;
  font-size: 10px;
}
.heading-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 15px;
  background: #fff;
  border: 1px solid #e0e7ef;
  border-radius: 7px;
  font-size: 10px;
  font-weight: 550;
  min-height: 36px;
  white-space: nowrap;
  color: #5e6d82;
  transition: 0.18s;
}
.button .icon {
  width: 15px;
  height: 15px;
}
.button:hover {
  background: #f3f7fa;
  border-color: #cad8e4;
}
.button-primary {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
  box-shadow: 0 3px 8px #08132212;
}
.button-primary:hover {
  background: #18314c;
  border-color: #18314c;
}
.button-cyan {
  background: var(--cyan-pale);
  border-color: #c9eef2;
  color: var(--cyan-dark);
}
.button-danger {
  color: var(--red);
  border-color: #f2cdd2;
  background: #fff;
}
.button-small {
  padding: 5px 10px;
  min-height: 28px;
  font-size: 9px;
}
.button-ghost {
  border-color: transparent;
  background: transparent;
  color: #8090a4;
}
.button-ghost:hover {
  border-color: transparent;
}
.date-chip {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #7a899b;
  font-size: 9px;
}
.date-chip .icon {
  width: 15px;
  height: 15px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}
.stat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 21px 22px;
  position: relative;
  min-height: 135px;
}
.stat-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.stat-label {
  font-size: 10px;
  color: #7e8a9a;
}
.stat-icon {
  width: 31px;
  height: 31px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--cyan-pale);
  color: var(--cyan-dark);
}
.stat-icon .icon {
  width: 16px;
  height: 16px;
}
.stat-number {
  font-size: 29px;
  font-weight: 660;
  letter-spacing: -1px;
  line-height: 1.4;
  margin: 5px 0 5px;
}
.stat-footer {
  font-size: 9px;
  color: #98a3b2;
  display: flex;
  align-items: center;
  gap: 5px;
}
.stat-footer .icon {
  width: 12px;
  height: 12px;
}
.stat-trend {
  color: var(--green);
}
.stat-card:nth-child(2) .stat-icon {
  color: #8a74b9;
  background: #f4f0fb;
}
.stat-card:nth-child(3) .stat-icon {
  color: #b99451;
  background: #fcf5e8;
}
.stat-card:nth-child(4) .stat-icon {
  color: #5f8daa;
  background: #eef4fb;
}
.dashboard-columns {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(260px, 1fr);
  gap: 22px;
}
.stack {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  min-width: 0;
}
.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 19px 22px 15px;
}
.panel-header h2 {
  font-size: 12px;
  font-weight: 630;
  margin: 0;
}
.panel-header p {
  font-size: 9px;
  color: var(--muted);
  margin: 3px 0 0;
}
.panel-body {
  padding: 0 22px 21px;
}
.panel-footer {
  border-top: 1px solid var(--line);
  padding: 12px 21px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 9px;
  color: #8b97a7;
}
.text-link {
  font-size: 9px;
  color: var(--cyan-dark);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 550;
}
.text-link .icon {
  width: 12px;
  height: 12px;
}
.table-wrap {
  width: 100%;
  overflow-x: auto;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: start;
  white-space: nowrap;
}
th {
  font-size: 9px;
  color: #95a0af;
  font-weight: 450;
  padding: 11px 20px;
  border-bottom: 1px solid var(--line);
  text-align: start;
  background: #fbfcfd;
}
td {
  font-size: 10px;
  padding: 16px 20px;
  border-bottom: 1px solid #f0f3f6;
  vertical-align: middle;
}
tr:last-child td {
  border-bottom: 0;
}
tbody tr[data-href] {
  cursor: pointer;
}
tbody tr[data-href]:hover {
  background: #fbfdfe;
}
.cell-title {
  font-weight: 550;
  color: #2a3a50;
  font-size: 10px;
  display: block;
}
.cell-subtitle {
  font-size: 8px;
  color: #98a3b1;
  display: block;
  margin-top: 2px;
}
.cell-title-icon {
  display: flex;
  align-items: center;
  gap: 10px;
}
.project-symbol {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #43a2b0;
  background: #eff8fa;
  flex-shrink: 0;
}
.project-symbol .icon {
  width: 16px;
  height: 16px;
}
.project-symbol.purple {
  background: #f3effb;
  color: #9b83c8;
}
.project-symbol.amber {
  background: #fbf5eb;
  color: #b89a67;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 8px;
  line-height: 1.8;
  font-weight: 500;
  border-radius: 5px;
  padding: 2px 7px;
  background: #f0f3f7;
  color: #718095;
  white-space: nowrap;
}
.badge:before {
  content: "";
  width: 4px;
  height: 4px;
  display: inline-block;
  background: currentColor;
  border-radius: 100%;
  opacity: 0.75;
}
.badge-green {
  background: var(--green-pale);
  color: var(--green);
}
.badge-cyan {
  background: var(--cyan-pale);
  color: #2795a6;
}
.badge-amber {
  background: var(--amber-pale);
  color: #b8892f;
}
.badge-purple {
  background: var(--purple-pale);
  color: #9275bc;
}
.badge-red {
  background: var(--red-pale);
  color: var(--red);
}
.badge-navy {
  background: #edf2f8;
  color: #546f93;
}
.progress {
  height: 4px;
  min-width: 65px;
  background: #eef2f6;
  border-radius: 10px;
  overflow: hidden;
}
.progress span {
  display: block;
  height: 100%;
  background: var(--cyan);
  border-radius: 10px;
}
.progress-row {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 8px;
  color: #8b99aa;
}
.progress-row .progress {
  flex: 1;
}
.pipeline {
  display: flex;
  gap: 6px;
  padding: 7px 0 17px;
}
.pipeline-segment {
  height: 9px;
  min-width: 6px;
  border-radius: 3px;
  background: var(--cyan);
}
.pipeline-legend {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 16px;
}
.legend-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 9px;
  color: #8390a2;
}
.legend-dot {
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--cyan);
  flex-shrink: 0;
}
.legend-item strong {
  margin-inline-start: auto;
  color: #3c4a5e;
  font-size: 10px;
}
.activity-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.activity-item {
  position: relative;
  display: flex;
  gap: 12px;
  padding: 10px 0 13px;
}
.activity-item:not(:last-child):before {
  content: "";
  position: absolute;
  inset-inline-start: 13px;
  top: 36px;
  bottom: -6px;
  background: #edf0f4;
  width: 1px;
}
.activity-icon {
  background: #f1f6f9;
  color: #7894a8;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  z-index: 1;
}
.activity-icon .icon {
  width: 13px;
  height: 13px;
}
.activity-copy {
  font-size: 9px;
  color: #67788f;
  line-height: 1.9;
}
.activity-copy strong {
  font-weight: 550;
  color: #34465c;
}
.activity-copy time {
  display: block;
  font-size: 8px;
  color: #abb4c0;
  margin-top: 2px;
}
.task-brief {
  padding: 11px 0;
  border-bottom: 1px solid #f0f3f6;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.task-brief:last-child {
  border: 0;
}
.task-check {
  width: 15px;
  height: 15px;
  border: 1px solid #dce3eb;
  border-radius: 4px;
  margin-top: 2px;
  flex-shrink: 0;
  background: #fff;
}
.task-check:hover {
  border-color: var(--cyan);
  background: var(--cyan-pale);
}
.task-brief .task-copy {
  flex: 1;
  min-width: 0;
}
.task-copy strong {
  font-size: 9px;
  font-weight: 500;
  display: block;
}
.task-copy small {
  font-size: 8px;
  color: #9ca6b5;
}
.task-date {
  font-size: 8px;
  color: #a6afbc;
  white-space: nowrap;
  padding-top: 2px;
}
.task-date.overdue {
  color: var(--red);
}
.app-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 40px 22px;
  color: #abb4c0;
  font-size: 8px;
  max-width: 1750px;
  width: 100%;
  margin: auto;
}
.app-footer > span:first-child {
  letter-spacing: 1.4px;
  font-size: 7px;
}
.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 20px;
  flex-wrap: wrap;
}
.toolbar-start,
.toolbar-end {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}
.search-field {
  position: relative;
  display: flex;
  align-items: center;
}
.search-field .icon {
  position: absolute;
  inset-inline-start: 12px;
  width: 15px;
  height: 15px;
  color: #97a5b7;
}
.search-field input {
  width: 250px;
  padding-inline-start: 35px;
  background: #fff;
}
.input,
select,
textarea,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="url"],
input[type="number"],
input[type="date"] {
  width: 100%;
  border: 1px solid #e1e7ee;
  border-radius: 7px;
  padding: 9px 11px;
  font-size: 10px;
  outline: none;
  background: #fff;
  color: #394d65;
  min-height: 37px;
}
.input:focus,
select:focus,
textarea:focus,
input:focus {
  border-color: #79d1dd;
  box-shadow: 0 0 0 3px #32c2d40a;
}
textarea {
  resize: vertical;
  min-height: 105px;
  line-height: 2;
}
select {
  cursor: pointer;
  max-width: 100%;
}
.filter-select {
  width: auto;
  min-width: 135px;
  color: #78889a;
  font-size: 9px;
  min-height: 35px;
}
.segmented {
  display: inline-flex;
  align-items: center;
  background: #edf1f5;
  padding: 3px;
  border-radius: 7px;
  gap: 2px;
}
.segmented button {
  border: 0;
  background: transparent;
  color: #8b99aa;
  padding: 5px 9px;
  border-radius: 5px;
  font-size: 9px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.segmented button .icon {
  width: 14px;
  height: 14px;
}
.segmented button.active {
  background: #fff;
  color: #344a62;
  box-shadow: 0 1px 3px #182e4410;
}
.empty-state {
  padding: 55px 25px;
  text-align: center;
  max-width: 450px;
  margin: auto;
}
.empty-icon {
  width: 54px;
  height: 54px;
  border-radius: 15px;
  background: #f0f8fa;
  color: #76b8c0;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
}
.empty-icon .icon {
  width: 25px;
  height: 25px;
}
.empty-state h3 {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 7px;
}
.empty-state p {
  font-size: 10px;
  color: #8e9bad;
  margin: 0 0 18px;
  line-height: 2;
}
.empty-state.compact {
  padding: 24px 12px;
}
.empty-state.compact .empty-icon {
  width: 34px;
  height: 34px;
  margin-bottom: 10px;
  border-radius: 10px;
}
.empty-state.compact .empty-icon .icon {
  width: 17px;
  height: 17px;
}
.empty-state.compact h3 {
  font-size: 10px;
}
.empty-state.compact p {
  font-size: 9px;
  margin: 0;
}
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.project-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 21px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.project-card:hover {
  border-color: #cee5e9;
  box-shadow: 0 5px 20px #142c4606;
}
.project-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.project-card h3 {
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 3px;
}
.project-card p {
  font-size: 9px;
  color: #8d99a9;
  margin: 0;
}
.project-card .project-symbol {
  width: 38px;
  height: 38px;
  margin-bottom: 11px;
}
.project-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 8px;
  color: #8c99aa;
  border-top: 1px solid var(--line);
  padding-top: 13px;
}
.queue-section {
  margin-bottom: 25px;
}
.section-title {
  font-size: 11px;
  font-weight: 600;
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 0 0 13px;
}
.section-title .count {
  font-size: 9px;
  color: #94a0b0;
  font-weight: 400;
}
.tabs {
  display: flex;
  gap: 24px;
  border-bottom: 1px solid #e3e9f0;
  margin-bottom: 24px;
  overflow-x: auto;
}
.tab {
  border: 0;
  background: none;
  color: #8c99aa;
  font-size: 10px;
  padding: 0 1px 13px;
  position: relative;
  white-space: nowrap;
}
.tab.active {
  color: #258f9e;
  font-weight: 550;
}
.tab.active:after {
  content: "";
  position: absolute;
  height: 2px;
  background: var(--cyan);
  bottom: -1px;
  inset-inline: 0;
  border-radius: 3px;
}
.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(240px, 1fr);
  gap: 22px;
}
.info-list {
  margin: 0;
}
.info-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid #f0f3f6;
  font-size: 10px;
}
.info-row:last-child {
  border: 0;
}
.info-row dt {
  color: #97a1b0;
}
.info-row dd {
  margin: 0;
  color: #4b5b70;
  max-width: 65%;
  text-align: end;
}
.rich-text {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 10px;
  line-height: 2.2;
  color: #708097;
}
.rich-text h3 {
  font-size: 12px;
  color: #354a61;
}
.notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid #d7edf1;
  border-radius: 9px;
  background: #f0fbfc;
  padding: 13px 15px;
  font-size: 10px;
  color: #51828d;
  line-height: 2;
}
.notice .icon {
  margin-top: 3px;
  width: 16px;
  height: 16px;
}
.notice.warning {
  background: #fffbf1;
  border-color: #f4e7c8;
  color: #ae8b4a;
}
.notice.error {
  background: var(--red-pale);
  border-color: #f3d6d9;
  color: var(--red);
}
.workflow-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 15px 0 0;
}
.workflow-stepper {
  display: flex;
  padding: 20px 22px;
  gap: 4px;
  overflow-x: auto;
  align-items: flex-start;
}
.workflow-step {
  min-width: 83px;
  flex: 1;
  position: relative;
  text-align: center;
  font-size: 8px;
  color: #a1adbd;
  padding: 0 3px;
}
.workflow-step:before {
  content: "";
  height: 1px;
  background: #e9eef3;
  position: absolute;
  top: 12px;
  inset-inline: 50% -50%;
  z-index: 0;
}
.workflow-step:last-child:before {
  display: none;
}
.step-number {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid #e3eaf1;
  background: #fff;
  margin: 0 auto 8px;
  position: relative;
  z-index: 1;
  font-size: 8px;
}
.workflow-step.complete {
  color: #5d9b92;
}
.workflow-step.complete .step-number {
  background: #e9f7f3;
  border-color: #d8eee6;
  color: #369b79;
}
.workflow-step.active {
  color: var(--cyan-dark);
  font-weight: 600;
}
.workflow-step.active .step-number {
  background: #e4f7fa;
  border-color: #a9e3ec;
  color: var(--cyan-dark);
  box-shadow: 0 0 0 4px #f5fcfd;
}
.workflow-step .icon {
  width: 12px;
  height: 12px;
}
.attachment {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 8px;
  font-size: 10px;
}
.attachment .file-icon {
  background: #f0f6f9;
  color: #7c9caf;
  width: 34px;
  height: 38px;
  border-radius: 6px;
  display: grid;
  place-items: center;
}
.attachment small {
  font-size: 8px;
  color: #9aa7b8;
  display: block;
}
.attachment .icon-button {
  margin-inline-start: auto;
}
.board {
  display: grid;
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  gap: 17px;
  overflow-x: auto;
  align-items: start;
}
.board-column {
  background: #edf1f6;
  border: 1px solid #e7edf3;
  border-radius: 11px;
  padding: 12px;
  min-height: 280px;
}
.board-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  font-weight: 550;
  padding: 2px 3px 12px;
  color: #73849a;
}
.board-count {
  font-size: 8px;
  display: inline-block;
  color: #9aa6b6;
  margin-inline-start: 6px;
}
.task-card {
  background: #fff;
  border: 1px solid #e6edf3;
  border-radius: 9px;
  padding: 14px;
  margin-bottom: 10px;
  cursor: pointer;
  box-shadow: 0 2px 4px #182e4402;
}
.task-card:hover {
  border-color: #bfdde3;
}
.task-card h3 {
  font-size: 10px;
  font-weight: 550;
  margin: 9px 0 4px;
  line-height: 1.9;
}
.task-card .task-project {
  font-size: 8px;
  color: #9aa6b5;
}
.task-card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 13px;
  margin-top: 10px;
  border-top: 1px solid #f1f4f6;
}
.task-card .avatar {
  width: 22px;
  height: 22px;
  font-size: 7px;
  border-radius: 7px;
}
.priority {
  font-size: 8px;
  display: inline-flex;
  gap: 4px;
  align-items: center;
  color: #98a3b2;
}
.priority.high,
.priority.urgent {
  color: #d2777c;
}
.priority.medium {
  color: #b69a58;
}
.priority .icon {
  width: 11px;
  height: 11px;
}
.board-add {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  background: transparent;
  border: 1px dashed #d3dde7;
  color: #94a3b5;
  border-radius: 7px;
  padding: 7px;
  font-size: 9px;
  gap: 5px;
}
.board-add .icon {
  width: 13px;
  height: 13px;
}
.calendar-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
}
.calendar-title {
  font-size: 14px;
  min-width: 160px;
  text-align: center;
  font-weight: 600;
}
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}
.calendar-day-name {
  text-align: center;
  font-size: 9px;
  color: #8b99ab;
  padding: 12px 5px;
  background: #fbfcfd;
  border-bottom: 1px solid var(--line);
}
.calendar-cell {
  min-height: 115px;
  border-inline-end: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 8px 6px;
  min-width: 0;
}
.calendar-cell:nth-child(7n) {
  border-inline-end: 0;
}
.calendar-cell.outside {
  background: #fcfdfe;
  color: #cad2dd;
}
.calendar-cell.nonworkday {
  background: #fbfcfe;
}
.calendar-date {
  font-size: 9px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  margin-bottom: 5px;
}
.calendar-cell.today .calendar-date {
  background: var(--navy);
  color: #fff;
  border-radius: 7px;
}
.calendar-event {
  display: block;
  padding: 3px 6px;
  background: #eff8fa;
  border-inline-start: 2px solid #62c4d0;
  color: #5d8e99;
  border-radius: 3px;
  font-size: 8px;
  margin: 3px 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
}
.calendar-event.milestone {
  background: #f4f0fb;
  border-color: #b49cda;
  color: #9478b6;
}
.gantt-wrap {
  overflow: auto;
}
.gantt {
  min-width: 950px;
  position: relative;
}
.gantt-header,
.gantt-row {
  display: grid;
  grid-template-columns: 260px 1fr;
}
.gantt-label {
  padding: 13px 18px;
  border-inline-end: 1px solid var(--line);
  font-size: 10px;
  display: flex;
  gap: 8px;
  align-items: center;
  min-width: 0;
}
.gantt-header {
  background: #fbfcfd;
  border-bottom: 1px solid var(--line);
  font-size: 9px;
  color: #8b99aa;
  position: sticky;
  top: 0;
  z-index: 2;
}
.gantt-timeline-head {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
}
.gantt-timeline-head > span {
  padding: 12px 6px;
  text-align: center;
  border-inline-end: 1px solid var(--line);
  font-size: 8px;
}
.gantt-row {
  min-height: 51px;
  border-bottom: 1px solid #f0f3f6;
}
.gantt-timeline {
  position: relative;
  min-width: 0;
  background: repeating-linear-gradient(
    to right,
    transparent,
    transparent calc(12.5% - 1px),
    #edf1f6 calc(12.5% - 1px),
    #edf1f6 12.5%
  );
  display: flex;
  align-items: center;
  overflow: hidden;
}
.gantt-bar {
  position: absolute;
  height: 19px;
  border-radius: 5px;
  background: #bbe7ed;
  color: #388b99;
  min-width: 8px;
  font-size: 7px;
  display: flex;
  align-items: center;
  padding: 0 7px;
  overflow: hidden;
  white-space: nowrap;
  inset-inline-start: var(--start);
  width: var(--width);
}
.gantt-bar.complete {
  background: #ccebdc;
  color: #479570;
}
.gantt-bar.milestone-bar {
  background: #e4d8f3;
  color: #9b7cb5;
}
.gantt-today {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: #ec8992;
  inset-inline-start: var(--today);
  z-index: 1;
  opacity: 0.6;
}
.workload-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f0f3f6;
}
.workload-row:last-child {
  border: 0;
}
.workload-name {
  font-size: 9px;
  min-width: 95px;
}
.workload-track {
  flex: 1;
  background: #f0f3f7;
  height: 7px;
  border-radius: 4px;
  overflow: hidden;
}
.workload-track > span {
  height: 100%;
  display: block;
  background: #8cd3df;
  border-radius: 4px;
}
.workload-count {
  font-size: 9px;
  color: #9aa6b6;
}
.ai-hero {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 28px;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}
.ai-hero:after {
  content: "";
  width: 250px;
  height: 250px;
  position: absolute;
  inset-inline-end: 10%;
  top: -150px;
  border: 1px solid #32c2d418;
  border-radius: 50%;
  box-shadow:
    0 0 0 35px #32c2d406,
    0 0 0 70px #32c2d405;
}
.ai-hero h2 {
  font-size: 20px;
  margin: 0 0 8px;
  font-weight: 600;
  position: relative;
  z-index: 1;
}
.ai-hero p {
  font-size: 10px;
  color: #92a7bf;
  margin: 0;
  max-width: 580px;
  line-height: 2;
  position: relative;
  z-index: 1;
}
.ai-budget {
  background: #ffffff08;
  border: 1px solid #ffffff10;
  border-radius: 10px;
  padding: 15px 22px;
  text-align: center;
  white-space: nowrap;
  position: relative;
  z-index: 1;
}
.ai-budget strong {
  font-size: 25px;
  color: var(--cyan);
  font-weight: 600;
  display: block;
}
.ai-budget small {
  font-size: 8px;
  color: #8098b3;
}
.review-card {
  padding: 20px;
  border-bottom: 1px solid var(--line);
}
.review-card:last-child {
  border: 0;
}
.review-card h3 {
  font-size: 11px;
  font-weight: 550;
  margin: 0 0 6px;
}
.review-card p {
  font-size: 9px;
  color: #91a0b2;
  margin: 0 0 12px;
  line-height: 2;
}
.review-meta {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.field.full {
  grid-column: 1/-1;
}
.field label {
  font-size: 10px;
  font-weight: 550;
  color: #596d84;
}
.field label .required {
  color: var(--cyan-dark);
  margin-inline-start: 3px;
}
.field .help {
  font-size: 8px;
  color: #98a5b6;
  line-height: 1.9;
}
.checkbox-field {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  color: #6a7e94;
}
.checkbox-field input {
  accent-color: var(--cyan-dark);
  width: 15px;
  height: 15px;
}
.form-section-title {
  font-size: 11px;
  font-weight: 600;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
  margin: 25px 0 16px;
}
.form-section-title:first-child {
  margin-top: 0;
}
.role-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px;
}
.role-option {
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 9px;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 9px;
  color: #77879c;
}
.role-option:has(input:checked) {
  background: #f0fafb;
  border-color: #b8e6ec;
  color: #258c9b;
}
.app-dialog {
  border: 1px solid #e0e7ee;
  border-radius: 15px;
  padding: 0;
  width: min(650px, calc(100vw - 32px));
  max-height: calc(100dvh - 50px);
  color: var(--text);
  background: #fff;
  box-shadow: 0 20px 100px #08132233;
  overflow: hidden;
}
.app-dialog.large {
  width: min(1000px, calc(100vw - 32px));
}
.app-dialog::backdrop {
  background: #08132270;
  backdrop-filter: blur(3px);
}
.dialog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 19px 23px;
}
.dialog-header h2 {
  font-size: 15px;
  font-weight: 600;
  margin: 0;
}
.dialog-body {
  padding: 23px;
  overflow-y: auto;
  max-height: calc(100dvh - 220px);
}
.dialog-footer {
  padding: 15px 23px;
  background: #fbfcfd;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}
.dialog-error {
  margin-bottom: 18px;
}
.dynamic-section {
  margin: 23px 0;
}
.dynamic-header {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
}
.dynamic-header h3 {
  font-size: 11px;
  margin: 0;
  font-weight: 550;
}
.dynamic-table {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: auto;
}
.dynamic-table th {
  padding: 8px;
  font-size: 8px;
}
.dynamic-table td {
  padding: 7px;
  white-space: normal;
  vertical-align: top;
}
.dynamic-table input,
.dynamic-table select {
  padding: 7px;
  min-height: 31px;
  font-size: 9px;
  min-width: 65px;
}
.dynamic-table textarea {
  padding: 7px;
  min-height: 50px;
  font-size: 9px;
  line-height: 1.7;
  min-width: 140px;
}
.dynamic-table .name-column {
  min-width: 170px;
}
.dynamic-table .number-column {
  width: 85px;
}
.dynamic-table .delete-column {
  width: 35px;
}
.dynamic-table .icon-button {
  width: 26px;
  height: 30px;
}
.dynamic-table .icon {
  width: 14px;
  height: 14px;
}
.credentials-box {
  background: var(--navy);
  padding: 20px;
  border-radius: 10px;
  color: #fff;
  margin: 17px 0;
  font-size: 13px;
  word-break: break-all;
  direction: ltr;
  text-align: center;
  letter-spacing: 1px;
}
.toast-region {
  position: fixed;
  bottom: 25px;
  inset-inline-end: 25px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 360px;
}
.toast {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #fff;
  border: 1px solid #dce9e5;
  border-radius: 10px;
  box-shadow: 0 5px 25px #08132218;
  padding: 14px 17px;
  font-size: 10px;
  line-height: 1.9;
  animation: toast-in 0.2s ease;
}
.toast .icon {
  color: var(--green);
  width: 17px;
  height: 17px;
  margin-top: 2px;
}
.toast.error {
  border-color: #f0d6da;
}
.toast.error .icon {
  color: var(--red);
}
@keyframes toast-in {
  from {
    transform: translateY(10px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
.initial-loading {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #9ca9b9;
  font-size: 11px;
}
.spinner {
  display: inline-block;
  width: 24px;
  height: 24px;
  border: 2px solid #e0edf0;
  border-top-color: var(--cyan);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.busy {
  pointer-events: none;
  opacity: 0.65;
}
.mobile-menu {
  display: none;
}
.sidebar-scrim {
  display: none;
}
.metric-inline {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  padding: 15px 0;
}
.metric-inline strong {
  display: block;
  font-size: 21px;
  font-weight: 600;
}
.metric-inline small {
  font-size: 9px;
  color: #94a1b1;
}
.comment {
  padding: 13px 0;
  display: flex;
  gap: 10px;
  border-bottom: 1px solid var(--line);
}
.comment:last-child {
  border: 0;
}
.comment strong {
  font-size: 9px;
  font-weight: 550;
}
.comment p {
  font-size: 10px;
  line-height: 2;
  margin: 5px 0;
  color: #718299;
  white-space: pre-wrap;
}
.comment time {
  font-size: 8px;
  color: #a5b0bd;
  margin-inline-start: 8px;
}
.comment-form {
  display: flex;
  gap: 10px;
  padding-top: 15px;
}
.comment-form textarea {
  min-height: 65px;
}
.notification-item {
  display: block;
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  font-size: 10px;
  line-height: 2;
}
.notification-item:last-child {
  border: 0;
}
.notification-item.unread {
  border-inline-start: 2px solid var(--cyan);
  padding-inline-start: 12px;
}
.notification-item time {
  font-size: 8px;
  color: #9ca9b9;
  display: block;
}
.color-swatch {
  width: 8px;
  height: 8px;
  display: inline-block;
  border-radius: 100%;
  background: var(--cyan);
}
/* Authentication */
.auth-page {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #fff;
}
.auth-brand-panel {
  background: var(--navy);
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.auth-brand-panel:before,
.auth-brand-panel:after {
  content: "";
  position: absolute;
  border: 1px solid #32c2d415;
  border-radius: 50%;
  width: 550px;
  height: 550px;
  inset-inline-end: -240px;
  bottom: -170px;
  box-shadow:
    0 0 0 65px #32c2d404,
    0 0 0 130px #32c2d403;
}
.auth-brand-panel:after {
  width: 350px;
  height: 350px;
  top: -230px;
  inset-inline-start: -80px;
}
.auth-brand-panel .brand {
  padding: 0;
  position: relative;
  z-index: 1;
}
.auth-brand-copy {
  max-width: 420px;
  position: relative;
  z-index: 1;
  margin: 70px 0;
}
.auth-brand-copy .eyebrow {
  color: #4ac7d5;
  font-size: 10px;
}
.auth-brand-copy h1 {
  font-size: 38px;
  font-weight: 600;
  line-height: 1.7;
  letter-spacing: -1px;
  margin: 17px 0;
}
.auth-brand-copy p {
  color: #8197b0;
  line-height: 2.3;
  font-size: 12px;
  max-width: 350px;
}
.auth-brand-footer {
  font-size: 9px;
  color: #56708b;
  display: flex;
  align-items: center;
  gap: 7px;
  position: relative;
  z-index: 1;
}
.auth-form-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 70px 40px;
  position: relative;
}
.auth-form-wrap {
  width: 100%;
  max-width: 355px;
}
.auth-form-wrap h2 {
  font-size: 25px;
  font-weight: 650;
  margin: 0 0 8px;
}
.auth-form-wrap .intro {
  font-size: 11px;
  color: #96a2b3;
  margin: 0 0 35px;
}
.auth-form-wrap .field {
  margin-bottom: 19px;
}
.auth-form-wrap input {
  padding: 12px 13px;
  font-size: 12px;
  min-height: 45px;
}
.auth-form-wrap .button-primary {
  width: 100%;
  margin-top: 11px;
  min-height: 45px;
  font-size: 11px;
}
.auth-language {
  position: absolute;
  top: 30px;
  inset-inline-end: 35px;
}
.auth-note {
  font-size: 9px;
  color: #a5afbc;
  text-align: center;
  margin-top: 25px;
  line-height: 2;
}
.auth-error {
  color: var(--red);
  background: var(--red-pale);
  border: 1px solid #f3dce0;
  border-radius: 8px;
  padding: 11px 13px;
  font-size: 10px;
  line-height: 2;
  margin-bottom: 22px;
}
.auth-error ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.password-help {
  font-size: 9px;
  color: #96a2b3;
  line-height: 2;
}
.password-help ul {
  padding-inline-start: 16px;
}
.auth-back {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #92a0b2;
  font-size: 10px;
  margin-top: 20px;
}
.auth-back .icon {
  width: 14px;
  height: 14px;
}
.auth-divider {
  width: 35px;
  height: 3px;
  background: var(--cyan);
  border-radius: 4px;
  margin-bottom: 25px;
}
@media (min-width: 1600px) {
  :root {
    --sidebar: 265px;
  }
  #main {
    padding-top: 40px;
  }
  .topbar {
    height: 83px;
  }
  .stat-card {
    padding: 24px;
  }
  .dashboard-columns {
    gap: 25px;
  }
  .page-heading {
    margin-bottom: 30px;
  }
  .panel-header {
    padding-top: 22px;
    padding-bottom: 19px;
  }
}
@media (max-width: 1200px) {
  :root {
    --sidebar: 225px;
  }
  .sidebar {
    padding-inline: 15px;
  }
  .nav-item.active:before {
    inset-inline-start: -15px;
  }
  .topbar {
    padding-inline: 28px;
  }
  #main {
    padding: 28px;
  }
  .stats-grid {
    gap: 12px;
  }
  .stat-card {
    padding: 17px;
  }
  .dashboard-columns {
    grid-template-columns: minmax(0, 1.5fr) minmax(245px, 1fr);
    gap: 16px;
  }
  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .search-trigger span,
  .search-trigger kbd {
    display: none;
  }
  .app-footer {
    padding-inline: 28px;
  }
  .panel-header {
    padding-inline: 17px;
  }
  .panel-body {
    padding-inline: 17px;
  }
  td,
  th {
    padding-inline: 15px;
  }
}
@media (max-width: 980px) {
  .dashboard-columns,
  .detail-grid {
    grid-template-columns: 1fr;
  }
  .dashboard-columns > .stack:last-child {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .board {
    grid-template-columns: repeat(4, 235px);
  }
  .auth-brand-panel {
    padding: 40px;
  }
  .auth-brand-copy h1 {
    font-size: 29px;
  }
}
@media (max-width: 760px) {
  :root {
    --sidebar: 245px;
  }
  .sidebar {
    transform: translateX(-105%);
    transition: transform 0.2s ease;
  }
  html[dir="rtl"] .sidebar {
    transform: translateX(105%);
  }
  body.menu-open .sidebar {
    transform: translateX(0);
  }
  body.menu-open .sidebar-scrim {
    display: block;
    position: fixed;
    inset: 0;
    background: #08132288;
    z-index: 49;
  }
  .app-main {
    width: 100%;
    margin: 0;
  }
  .topbar {
    height: 64px;
    padding-inline: 19px;
    gap: 10px;
  }
  .topbar-start,
  .topbar-actions {
    gap: 9px;
  }
  .mobile-menu {
    display: inline-flex;
  }
  .search-trigger {
    display: none;
  }
  .topbar-divider {
    display: none;
  }
  .breadcrumbs {
    font-size: 9px;
    gap: 5px;
  }
  #main {
    padding: 23px 19px;
  }
  .page-heading {
    align-items: flex-start;
    margin-bottom: 20px;
  }
  .page-heading h1 {
    font-size: 22px;
  }
  .page-heading p {
    font-size: 9px;
    max-width: 250px;
  }
  .heading-actions .date-chip {
    display: none;
  }
  .heading-actions {
    justify-content: flex-end;
  }
  .button {
    padding-inline: 11px;
    font-size: 9px;
  }
  .stats-grid {
    gap: 11px;
    margin-bottom: 18px;
  }
  .stat-card {
    min-height: 121px;
    padding: 15px;
  }
  .stat-number {
    font-size: 26px;
  }
  .stat-label {
    font-size: 9px;
  }
  .stat-icon {
    width: 27px;
    height: 27px;
  }
  .stat-footer {
    font-size: 8px;
    line-height: 1.8;
  }
  .dashboard-columns > .stack:last-child {
    display: flex;
  }
  .cards-grid {
    gap: 13px;
  }
  .project-card {
    padding: 16px;
  }
  .project-card h3 {
    font-size: 11px;
  }
  .page-heading .eyebrow {
    font-size: 8px;
  }
  .toolbar {
    gap: 10px;
  }
  .toolbar-start,
  .toolbar-end {
    gap: 7px;
  }
  .search-field input {
    width: 190px;
  }
  .filter-select {
    min-width: 110px;
    font-size: 9px;
  }
  .app-footer {
    padding-inline: 19px;
    font-size: 7px;
    gap: 10px;
  }
  .calendar-cell {
    min-height: 87px;
    padding: 5px 3px;
  }
  .calendar-event {
    font-size: 7px;
    padding: 2px 3px;
  }
  .calendar-date {
    font-size: 8px;
  }
  .calendar-title {
    font-size: 11px;
    min-width: 120px;
  }
  .calendar-toolbar {
    gap: 3px;
  }
  .panel-header {
    padding: 16px;
  }
  .panel-body {
    padding: 0 16px 17px;
  }
  .ai-hero {
    padding: 21px;
    gap: 15px;
    align-items: flex-start;
  }
  .ai-hero h2 {
    font-size: 17px;
  }
  .ai-hero p {
    font-size: 9px;
  }
  .ai-budget {
    padding: 10px 13px;
  }
  .ai-budget strong {
    font-size: 21px;
  }
  .app-dialog {
    max-height: calc(100dvh - 24px);
  }
  .dialog-body {
    padding: 19px;
    max-height: calc(100dvh - 175px);
  }
  .dialog-header {
    padding: 15px 19px;
  }
  .dialog-header h2 {
    font-size: 13px;
  }
  .dialog-footer {
    padding: 13px 19px;
  }
  .toast-region {
    bottom: 15px;
    inset-inline: 15px;
    max-width: none;
  }
  .auth-page {
    grid-template-columns: 1fr;
  }
  .auth-brand-panel {
    padding: 30px;
    min-height: 180px;
    justify-content: center;
  }
  .auth-brand-panel .brand {
    padding: 0;
  }
  .auth-brand-copy {
    margin: 25px 0 0;
  }
  .auth-brand-copy h1 {
    font-size: 24px;
    margin: 7px 0;
  }
  .auth-brand-copy p,
  .auth-brand-footer,
  .auth-brand-copy .eyebrow {
    display: none;
  }
  .auth-form-panel {
    padding: 50px 28px;
  }
  .auth-language {
    top: 15px;
    inset-inline-end: 25px;
  }
  .auth-form-wrap {
    max-width: 390px;
  }
  .auth-form-wrap h2 {
    font-size: 23px;
  }
}
@media (max-width: 450px) {
  .cards-grid {
    grid-template-columns: 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .field.full {
    grid-column: auto;
  }
  .role-options {
    grid-template-columns: 1fr;
  }
  .page-heading {
    gap: 9px;
  }
  .heading-actions .button {
    font-size: 8px;
    padding: 8px 9px;
    gap: 4px;
  }
  .heading-actions .button .icon {
    width: 13px;
    height: 13px;
  }
  .stat-footer .icon {
    display: none;
  }
  .stat-label {
    font-size: 8px;
  }
  .app-footer > span:last-child {
    max-width: 170px;
    text-align: end;
  }
  .calendar-title {
    min-width: 100px;
  }
  .calendar-toolbar > .button {
    display: none;
  }
  .ai-hero {
    flex-direction: column;
  }
  .ai-budget {
    display: flex;
    gap: 12px;
    align-items: center;
  }
  .ai-budget strong {
    font-size: 20px;
  }
  .eyebrow {
    font-size: 8px;
  }
  .page-heading h1 {
    font-size: 20px;
  }
  .calendar-day-name {
    font-size: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
@media print {
  .sidebar,
  .topbar,
  .app-footer,
  .heading-actions,
  .toolbar,
  .workflow-actions,
  .toast-region {
    display: none !important;
  }
  .app-main {
    margin: 0;
    width: 100%;
  }
  #main {
    padding: 0;
  }
  .panel {
    break-inside: avoid;
  }
  .app-shell {
    display: block;
  }
}
/* Comfortable reading sizes for bilingual operational screens. */
.nav-item {
  font-size: 12px;
}
.stat-label {
  font-size: 11px;
}
.stat-footer {
  font-size: 10px;
}
.panel-header h2 {
  font-size: 13px;
}
.cell-title {
  font-size: 11px;
}
.cell-subtitle {
  font-size: 9px;
}
th {
  font-size: 10px;
}
td {
  font-size: 11px;
}
.badge {
  font-size: 9px;
}
.page-heading p {
  font-size: 11px;
}
.task-copy strong {
  font-size: 10px;
}
.task-copy small {
  font-size: 9px;
}
.activity-copy {
  font-size: 10px;
}
.activity-copy time {
  font-size: 9px;
}
.legend-item {
  font-size: 10px;
}
.task-date {
  font-size: 9px;
}
.auth-demo {
  margin-top: 24px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
}
.auth-demo form {
  flex: 1;
}
.auth-demo .button {
  width: 100%;
}
.calendar-event {
  border-block: 0;
  border-inline-end: 0;
  width: 100%;
  text-align: start;
  font-family: inherit;
}
.readonly-text {
  background: #f7f9fb !important;
}
.task-card:focus-visible {
  outline: 3px solid #32c2d466;
  outline-offset: 3px;
}
@media (max-width: 760px) {
  .stat-label {
    font-size: 10px;
  }
  .stat-footer {
    font-size: 9px;
  }
  .page-heading p {
    font-size: 10px;
  }
  .nav-item {
    font-size: 12px;
  }
  .panel-header h2 {
    font-size: 12px;
  }
  .calendar-event {
    font-size: 7px;
  }
  .task-date {
    font-size: 8px;
  }
}
.calendar-grid.week-view .calendar-cell {
  min-height: 320px;
}
.filter-select[data-saved-view] {
  max-width: 180px;
}
@media (max-width: 760px) {
  .panel-header:has(.calendar-toolbar) {
    flex-direction: column;
    align-items: stretch;
  }
  .calendar-toolbar {
    justify-content: space-between;
    flex-wrap: wrap;
  }
  .calendar-grid.week-view .calendar-cell {
    min-height: 220px;
  }
  .calendar-cell {
    min-width: 0;
  }
  .calendar-date {
    margin-inline: auto;
  }
  .filter-select[data-saved-view] {
    max-width: 150px;
  }
}
