:root {
  font-family:
    Inter, "SF Pro Text", "PingFang SC", "Microsoft YaHei", system-ui,
    sans-serif;
  color: #222434;
  background: #f6f7fb;
  --muted: #768092;
  --border: #e6e8ef;
  --purple: #6950d9;
  --surface: #fff;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
  border: 0;
  background: transparent;
  color: inherit;
}
button:focus-visible,
a:focus-visible,
select:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid #ad9afc;
  outline-offset: 2px;
}
button:hover {
  filter: brightness(0.965);
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
button,
a,
select,
input {
  touch-action: manipulation;
}
a {
  color: var(--purple);
}
h1,
h2,
h3,
p {
  margin: 0;
}
button,
span,
a,
td {
  overflow-wrap: anywhere;
}
.icon {
  flex: none;
  vertical-align: middle;
}
.shell {
  display: flex;
  min-height: 100vh;
}
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 218px;
  background: #fff;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  z-index: 20;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 68px;
  padding: 0 23px;
  flex: none;
}
.brand b {
  font-family: Inter, "Arial", sans-serif;
  font-size: 28px;
  font-weight: 750;
  letter-spacing: -1.7px;
  color: #272536;
}
.brand > span {
  font-size: 10px;
  letter-spacing: 1px;
  padding-left: 9px;
  margin: 4px 0 0 1px;
  border-left: 1px solid #d9dbe5;
  color: #797688;
  font-weight: 600;
}
.workspace {
  display: flex;
  align-items: center;
  width: calc(100% - 30px);
  margin: 13px 15px 4px;
  padding: 10px;
  gap: 10px;
  border: 1px solid #e3e2ec;
  border-radius: 9px;
  text-align: left;
  background: linear-gradient(110deg, #f9f8fe, #fff);
}
.workspace > span:nth-child(2),
.profile > span:nth-child(2) {
  flex: 1;
}
.workspace b,
.profile b {
  display: block;
  font-size: 13px;
  letter-spacing: -0.15px;
}
.workspace small,
.profile small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin-top: 3px;
}
.workspace-logo,
.node-glyph {
  display: grid;
  place-items: center;
  border-radius: 7px;
  width: 32px;
  height: 32px;
  background: #ece8ff;
  color: #755de0;
}
.sidebar nav {
  min-height: 0;
  overflow-y: auto;
  flex: 1;
  padding: 0 13px 18px;
  scrollbar-width: thin;
}
.nav-group h2 {
  margin: 21px 12px 8px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #8b8e9e;
}
.nav-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 11px;
  border-radius: 7px;
  text-align: left;
  padding: 9px 13px;
  margin: 1px 0;
  font-size: 13px;
  color: #606475;
  font-weight: 500;
  line-height: 1.35;
  position: relative;
}
.nav-item.current {
  color: #654bd8;
  background: #eeebff;
  font-weight: 650;
}
.nav-item:hover {
  background: #f4f3fa;
}
.profile {
  display: flex;
  align-items: center;
  gap: 10px;
  border-top: 1px solid var(--border);
  padding: 16px 20px;
  text-align: left;
}
.main {
  width: calc(100% - 218px);
  margin-left: 218px;
  min-width: 0;
}
.topbar {
  height: 61px;
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 0 clamp(20px, 2.5vw, 44px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.crumb,
.top-right,
.actions,
.row-actions,
.detail-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.crumb {
  font-size: 12px;
  color: #9094a3;
}
.crumb b {
  color: #494c5c;
  font-weight: 560;
}
.crumb > .icon:first-child {
  margin-right: 4px;
  color: #737887;
}
.top-right {
  gap: 14px;
}
.searchbox {
  border: 1px solid #e8e8ef;
  border-radius: 7px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #8a8f9b;
  background: #f9f9fc;
  font-size: 11px;
  height: 31px;
  padding: 0 8px 0 10px;
}
.searchbox kbd {
  font: 10px system-ui;
  background: white;
  border: 1px solid #e2e2eb;
  border-radius: 3px;
  padding: 0 4px;
  margin-left: 21px;
}
.iconbtn {
  padding: 5px;
  color: #6e7283;
  display: grid;
  place-items: center;
  border-radius: 5px;
}
.vline {
  height: 18px;
  width: 1px;
  background: #e4e5ea;
}
.profile-dot {
  padding: 0;
}
.mobile-toggle,
.veil {
  display: none;
}
#content {
  max-width: 1690px;
  margin: 0 auto;
  padding: clamp(18px, 2vw, 32px) clamp(20px, 2.5vw, 44px) 50px;
}
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 14px;
  min-height: 188px;
  background:
    radial-gradient(
      ellipse at 78% 55%,
      #4e3a96 0,
      #332563 27%,
      transparent 62%
    ),
    linear-gradient(100deg, #1c1837, #29204e 65%, #362861);
  color: #fff;
}
.hero:after,
.auth-illustration:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(#af9ded0c 1px, transparent 1px),
    linear-gradient(90deg, #af9ded0c 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(95deg, #0005, #000);
}
.hero-copy {
  position: relative;
  z-index: 1;
  padding: 25px 30px 23px;
  width: max-content;
  max-width: 69%;
  pointer-events: none;
}
.hero-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  font:
    600 9px/1.3 ui-monospace,
    "SFMono-Regular",
    Consolas,
    monospace;
  letter-spacing: 2px;
  color: #c9baff;
}
.signal {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #b9a0ff;
  box-shadow: 0 0 0 3px #a58aff1c;
}
.hero h1 {
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1.25;
  letter-spacing: 1px;
  margin: 12px 0 7px;
  font-weight: 690;
}
.hero p {
  color: #d4cfe7;
  font-size: 13px;
  line-height: 1.6;
}
.hero-foot {
  display: flex;
  gap: 8px;
  align-items: center;
  color: #bcb5d0;
  font-size: 10px;
  margin-top: 19px;
}
.hero-foot i {
  width: 2px;
  height: 2px;
  border-radius: 100%;
  background: #bcb5d0;
  margin: 0 2px;
}
.hero canvas,
.auth-illustration canvas {
  width: 50%;
  height: 100%;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 0;
}
.section-heading,
.section-heading > div:first-child,
.panel-head,
.metric-line {
  display: flex;
  align-items: center;
}
.section-heading {
  justify-content: space-between;
  gap: 8px;
  margin: 22px 0 12px;
}
.section-heading > div:first-child {
  gap: 9px;
}
.section-heading h2,
.panel h2 {
  font-size: 17px;
  font-weight: 670;
  letter-spacing: -0.4px;
}
.mini-line {
  background: var(--purple);
  width: 3px;
  height: 15px;
  border-radius: 2px;
}
.primary,
.secondary,
.quiet,
.text-button,
.textlink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 550;
  line-height: 1.3;
  white-space: nowrap;
}
.primary {
  border: 1px solid #6e53dc;
  border-radius: 7px;
  background: #7055df;
  color: white;
  padding: 8px 13px;
  box-shadow: 0 2px 3px #42338716;
}
.secondary {
  background: white;
  border: 1px solid #dddeea;
  border-radius: 7px;
  padding: 8px 12px;
}
.quiet,
.text-button,
.textlink {
  color: #7365ac;
  padding: 4px 0;
  background: transparent;
  text-decoration: none;
}
.quiet {
  font-size: 11px;
  color: #727486;
}
.text-button {
  font-size: 11px;
  color: #7264a7;
}
.text-button .icon {
  order: 2;
  width: 13px;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.metric,
.panel {
  background: white;
  border: 1px solid var(--border);
  border-radius: 11px;
  box-shadow: 0 2px 4px #20254203;
}
.metric {
  position: relative;
  overflow: hidden;
  text-align: left;
  padding: 15px 17px 13px;
}
.metric-line {
  gap: 8px;
  color: #646777;
  font-size: 12px;
  font-weight: 560;
}
.metric-icon {
  height: 29px;
  width: 29px;
  border-radius: 8px;
  display: grid;
  place-items: center;
}
.violet {
  --accent: #7b5ee4;
  --pale: #f0ebff;
}
.blue {
  --accent: #487fd4;
  --pale: #e9f1ff;
}
.teal {
  --accent: #269b8b;
  --pale: #e5f6f0;
}
.amber {
  --accent: #ca8b32;
  --pale: #fff2dd;
}
.metric-icon {
  background: var(--pale);
  color: var(--accent);
}
.metric strong,
.chart-value strong,
.op-cards h2 {
  font-family: Inter, "Arial", sans-serif;
  letter-spacing: -1.6px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}
.metric strong {
  display: block;
  font-size: 31px;
  line-height: 1.2;
  margin-top: 8px;
}
.metric > small {
  font-size: 10px;
  color: #838896;
}
.metric-decor {
  position: absolute;
  right: 12px;
  bottom: 10px;
  transform: rotate(-13deg);
  color: var(--accent);
  opacity: 0.055;
  pointer-events: none;
}
.board-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.88fr) minmax(0, 1fr);
  gap: 16px;
  margin: 19px 0 0;
}
.panel {
  min-width: 0;
  overflow: hidden;
}
.panel-head {
  justify-content: space-between;
  gap: 10px;
  padding: 18px 19px 15px;
}
.eyebrow {
  display: block;
  color: #8a859f;
  font:
    600 9px/1.25 ui-monospace,
    Consolas,
    monospace;
  letter-spacing: 1.55px;
}
.panel-head h2 {
  margin-top: 5px;
}
.panel-head select,
.filters select {
  border: 1px solid var(--border);
  padding: 5px 6px;
  border-radius: 6px;
  background: #fff;
  color: #666a78;
  font-size: 11px;
}
.table-wrap {
  overflow-x: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
  color: #5d6172;
  text-align: left;
}
th {
  font-size: 10px;
  font-weight: 550;
  color: #85899a;
  background: #fafafd;
  letter-spacing: 0.2px;
}
th,
td {
  padding: 10px 12px;
  border-bottom: 1px solid #eeeff4;
  vertical-align: middle;
}
th:first-child,
td:first-child {
  padding-left: 19px;
}
th:last-child,
td:last-child {
  padding-right: 19px;
}
tbody tr:last-child td {
  border: 0;
}
tbody tr:hover {
  background: #fcfbff;
}
.project-table th,
.project-table td {
  white-space: nowrap;
}
.project-table th {
  padding-top: 7px;
  padding-bottom: 7px;
}
.project-table td {
  padding-top: 10px;
  padding-bottom: 10px;
}
.ptitle {
  display: flex;
  align-items: center;
  gap: 9px;
  text-align: left;
  padding: 0;
}
.picon {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 33px;
  height: 33px;
  border-radius: 9px;
  color: var(--t);
  background: color-mix(in srgb, var(--t) 11%, white);
  border: 1px solid color-mix(in srgb, var(--t) 14%, white);
}
.picon.large {
  width: 42px;
  height: 42px;
}
.ptitle b {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #343646;
}
.ptitle small {
  display: block;
  font:
    10px/1.2 ui-monospace,
    Consolas,
    monospace;
  color: #9698a5;
  margin-top: 3px;
}
.badge {
  font-size: 10px;
  font-weight: 550;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 7px;
  border-radius: 5px;
  background: #eff0f5;
  color: #6f7284;
  white-space: nowrap;
}
.badge i,
.flow-dot,
.chart-legend i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}
.b-active,
.b-in_progress,
.b-testing,
.b-running {
  background: #eceafd;
  color: #7357c7;
}
.b-planning,
.b-queued,
.b-review {
  background: #fff1d9;
  color: #a67a24;
}
.b-completed,
.b-online,
.b-done,
.b-released,
.b-passed {
  background: #e6f6ef;
  color: #288766;
}
.b-failed,
.b-blocked,
.b-expired,
.b-offline {
  background: #ffebe9;
  color: #b55148;
}
.progress {
  display: flex;
  align-items: center;
  gap: 7px;
  font:
    10px/1.2 ui-monospace,
    Consolas,
    monospace;
}
.progress > i {
  display: block;
  width: clamp(33px, 4vw, 68px);
  height: 4px;
  border-radius: 4px;
  overflow: hidden;
  background: #eeedf4;
}
.progress b {
  display: block;
  height: 100%;
  border-radius: 4px;
}
.avatar {
  border-radius: 50%;
  width: 29px;
  height: 29px;
  display: inline-grid;
  place-items: center;
  vertical-align: middle;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  background: #eee8ff;
  color: #7051bd;
}
.av0,
.av4 {
  background: #e1eefb;
  color: #4b75a2;
}
.av1 {
  background: #ece5ff;
  color: #7759b3;
}
.av2 {
  background: #f9e9db;
  color: #ac774e;
}
.av3 {
  background: #d7efe7;
  color: #498b72;
}
.av5 {
  background: #f5dfee;
  color: #aa6d94;
}
.avatar-group {
  display: inline-flex;
  align-items: center;
  padding-left: 3px;
}
.avatar-group .avatar {
  width: 22px;
  height: 22px;
  font-size: 9px;
  border: 2px solid white;
  margin-left: -4px;
}
.avatar-group small {
  font:
    10px ui-monospace,
    monospace;
  color: var(--muted);
}
.chart-body {
  padding: 0 19px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.delivery {
  display: flex;
  flex-direction: column;
}
.chart-value {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0 0 13px;
}
.chart-value strong {
  color: #322a48;
  font-size: 32px;
}
.chart-value span,
.chart-legend {
  font-size: 10px;
  color: #838594;
}
.chart {
  display: flex;
  gap: 7px;
  min-height: 110px;
  flex: 1;
}
.axis {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-bottom: 18px;
  text-align: right;
  font:
    9px ui-monospace,
    monospace;
  color: #989aa9;
}
.bars {
  position: relative;
  display: flex;
  justify-content: space-around;
  width: 100%;
  gap: 4px;
}
.bars:before {
  content: "";
  position: absolute;
  inset: 0 0 17px;
  background: repeating-linear-gradient(
    to top,
    #eeeef5 0 1px,
    transparent 1px calc(25% - 1px)
  );
}
.bar-col {
  height: 100%;
  flex: 1;
  max-width: 40px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1;
}
.bar-track {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  flex: 1;
  width: 100%;
}
.bar-track i {
  display: block;
  width: 65%;
  background: linear-gradient(to top, #c0b2f5, #7e60dd);
  border-radius: 4px 4px 0 0;
}
.bar-col small {
  font:
    9px/18px ui-monospace,
    monospace;
  color: #9496a4;
  height: 18px;
}
.chart-legend {
  display: flex;
  align-items: center;
  gap: 6px;
  border-top: 1px solid var(--border);
  padding-top: 12px;
  margin-top: 12px;
}
.chart-legend i {
  border-radius: 2px;
  width: 7px;
  height: 7px;
  background: #886bdf;
}
.chart-legend span {
  margin-left: auto;
  font:
    9px ui-monospace,
    monospace;
  letter-spacing: 0.1px;
}
.flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  padding: 0 18px 17px;
}
.flow button {
  background: #f8f8fc;
  border-radius: 7px;
  font-size: 11px;
  color: #6d6e7f;
  padding: 10px 4px;
}
.flow-dot {
  display: inline-block;
  margin: 0 4px 1px 0;
  --dot: #b5b7c5;
  background: var(--dot);
}
.f1 {
  --dot: #8d75e0;
}
.f2 {
  --dot: #e6a858;
}
.f3 {
  --dot: #d9776e;
}
.f4 {
  --dot: #5daf94;
}
.flow strong {
  display: block;
  margin-top: 4px;
  font-size: 19px;
  color: #3e3c50;
}
.node-list {
  padding: 0 18px 7px;
}
.node-list button {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  font:
    11px ui-monospace,
    monospace;
  padding: 7px 0;
  border-top: 1px solid #f0f0f5;
}
.node-list .badge {
  margin-left: auto;
}
.node-glyph {
  width: 25px;
  height: 25px;
  min-width: 25px;
  background: #f0edf8;
  color: #8979b3;
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin: 8px 0 25px;
}
.page-heading h1,
.auth h1 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 29px;
  letter-spacing: -1px;
  margin: 6px 0 8px;
  font-weight: 670;
}
.page-heading p,
.auth p,
.op-cards p,
.dialog-desc {
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
}
.page-heading .eyebrow,
.auth .eyebrow {
  color: #8d74cd;
}
.detail-back {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 19px;
}
.list-panel {
  margin: 0 0 16px;
}
.list-panel > h2 {
  padding: 16px 19px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.list-panel h2 small {
  font:
    11px ui-monospace,
    monospace;
  padding: 2px 6px;
  background: #f1eef9;
  color: #76689f;
  border-radius: 4px;
}
.list-panel td {
  max-width: 350px;
}
.url {
  font-size: 11px;
  display: block;
  text-decoration: none;
  margin-top: 3px;
}
.row-actions {
  flex-wrap: wrap;
}
code,
kbd,
pre {
  font-family: ui-monospace, Consolas, monospace;
}
.empty,
.loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 35px 15px;
  color: #9194a3;
  font-size: 13px;
}
.empty .icon {
  color: #baafda;
}
.filters {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 15px;
}
.filters label {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #727487;
}
.filters select {
  font-size: 12px;
  padding: 7px 9px;
}
.kanban {
  display: grid;
  grid-template-columns: repeat(5, minmax(155px, 1fr));
  gap: 10px;
  overflow-x: auto;
  align-items: start;
  padding-bottom: 15px;
}
.kanban > section {
  background: #eeeef5;
  border-radius: 9px;
  padding: 10px;
  min-height: 160px;
}
.kanban-title {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  margin: 1px 0 12px;
}
.kanban-title b {
  font:
    10px ui-monospace,
    monospace;
  background: #fff9;
  padding: 2px 5px;
  border-radius: 4px;
  margin-left: 4px;
}
.column-empty {
  font-size: 11px;
  color: #9597a5;
}
.task-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  background: #fff;
  border: 1px solid #e3e3ed;
  border-radius: 7px;
  width: 100%;
  margin: 0 0 7px;
  text-align: left;
  padding: 11px 10px;
}
.task-card > small {
  font-size: 10px;
  color: var(--muted);
}
.task-card > b {
  font-size: 13px;
  font-weight: 600;
}
.task-card > span {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.task-card .avatar {
  width: 21px;
  height: 21px;
  font-size: 10px;
}
.priority {
  font-size: 10px;
  font-style: normal;
  color: #847c9b;
}
.p-high,
.p-urgent {
  color: #b0763d;
}
.op-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 10px 0 17px;
}
.op-cards article {
  padding: 18px;
}
.op-cards h2 {
  margin: 10px 0;
  font-size: 27px;
}
.op-cards p {
  font-size: 12px;
}
.detail-actions {
  margin: 0 0 18px;
  flex-wrap: wrap;
}
.auth {
  min-height: 100dvh;
  background:
    radial-gradient(circle at 50% 20%, #e7e1fb, transparent 51%), #f7f7fb;
  padding: 12px 0 40px;
}
.auth .brand {
  justify-content: center;
  margin: 8px auto 20px;
}
.auth-card {
  width: min(440px, calc(100% - 32px));
  margin: auto;
  background: white;
  border: 1px solid #dedce9;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 17px 80px #35225e12;
}
.auth-illustration {
  height: 120px;
  position: relative;
  isolation: isolate;
  background: linear-gradient(100deg, #21193f, #453574);
}
.auth-illustration canvas {
  width: 100%;
}
.auth-body {
  padding: 26px;
}
.auth-body .textlink {
  margin-top: 15px;
}
.auth form,
.form-fields {
  display: grid;
  gap: 11px;
}
.auth .form-error:empty,
.form-error:empty {
  display: none;
}
.form-error {
  font-size: 12px !important;
  color: #a83c46 !important;
  background: #fff0f1;
  border-radius: 7px;
  padding: 8px 10px;
  line-height: 1.5;
}
.field {
  display: block;
  font-size: 12px;
  font-weight: 560;
  color: #57596c;
}
.field > span {
  display: block;
  margin-bottom: 5px;
}
.field input,
.field select,
.field textarea,
.search-in {
  display: block;
  width: 100%;
  border: 1px solid #dcdce7;
  border-radius: 7px;
  background: #fff;
  padding: 8px 10px;
  color: #303045;
  font-size: 13px;
  line-height: 1.4;
  min-height: 35px;
}
.field small {
  color: #858696;
  font-size: 10px;
  font-weight: 450;
  display: block;
  margin-top: 4px;
}
.field input[type="color"] {
  height: 36px;
  padding: 3px;
}
.field textarea {
  resize: vertical;
  min-height: 68px;
}
#modal {
  width: min(465px, calc(100vw - 28px));
  border: 1px solid #dbdae8;
  border-radius: 14px;
  max-height: 88dvh;
  padding: 0;
  background: #fff;
  color: #343347;
  box-shadow: 0 20px 100px #20173935;
}
#modal::backdrop {
  background: #211d3759;
  backdrop-filter: blur(3px);
}
.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 17px 20px;
  border-bottom: 1px solid var(--border);
}
.dialog-head h2 {
  font-size: 17px;
  font-weight: 650;
}
.dialog-body {
  padding: 19px 20px;
}
.dialog-desc {
  margin: 0 0 14px;
}
.dialog-foot {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
  margin-top: 15px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.dialog-body pre {
  background: #f3f2f8;
  color: #49435c;
  border-radius: 7px;
  padding: 12px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  user-select: all;
  font-size: 12px;
}
.dialog-body dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  font-size: 12px;
}
.dialog-body dt {
  color: #858591;
}
.dialog-body dd {
  margin: 0;
  text-align: right;
}
.dialog-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.danger {
  color: #af4252;
}
.search-results {
  margin-top: 10px;
}
.search-results button {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  text-align: left;
  padding: 8px 4px;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
}
.search-results small {
  margin-left: auto;
  color: var(--muted);
  font-size: 10px;
}
#toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.15s,
    transform 0.15s;
  background: #302a48;
  color: white;
  font-size: 12px;
  padding: 10px 17px;
  border-radius: 9px;
  z-index: 100;
  box-shadow: 0 8px 24px #21193522;
}
#toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
.auth-card .primary {
  width: 100%;
  margin-top: 6px;
}
.field[hidden] {
  display: none;
}
@media (min-width: 1550px) {
  .sidebar {
    width: 238px;
  }
  .main {
    width: calc(100% - 238px);
    margin-left: 238px;
  }
  .hero {
    min-height: 220px;
  }
  .hero-copy {
    padding: 31px 38px;
  }
  .hero-foot {
    margin-top: 23px;
  }
  .metric {
    padding: 18px 22px;
  }
  .project-table td {
    padding-top: 13px;
    padding-bottom: 13px;
  }
  .board-grid {
    gap: 20px;
  }
}
@media (max-width: 1120px) {
  .sidebar {
    width: 190px;
  }
  .main {
    width: calc(100% - 190px);
    margin-left: 190px;
  }
  .brand {
    padding: 0 17px;
  }
  .workspace {
    width: calc(100% - 24px);
    margin-left: 12px;
  }
  .board-grid {
    grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr);
    gap: 11px;
  }
  .project-table th,
  .project-table td {
    padding-left: 6px;
    padding-right: 6px;
  }
  .project-table td:first-child,
  .project-table th:first-child {
    padding-left: 12px;
  }
  .project-table td:last-child,
  .project-table th:last-child {
    padding-right: 10px;
  }
  .panel-head {
    padding: 14px;
  }
  .hero-copy {
    padding-left: 23px;
  }
  .metric {
    padding: 12px;
  }
  .chart-body {
    padding: 0 12px 13px;
  }
  .chart-legend span {
    font-size: 8px;
  }
}
@media (max-width: 920px) {
  .sidebar {
    width: 172px;
  }
  .main {
    width: calc(100% - 172px);
    margin-left: 172px;
  }
  .sidebar .brand > span {
    display: none;
  }
  .board-grid {
    grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  }
  .portfolio .project-table td:last-child,
  .portfolio .project-table th:last-child {
    display: none;
  }
  .workspace b {
    font-size: 12px;
  }
  .metrics {
    gap: 8px;
  }
  .metric strong {
    font-size: 27px;
  }
  .hero-copy {
    max-width: 69%;
  }
  .hero p {
    font-size: 12px;
  }
  .topbar {
    padding: 0 16px;
  }
  #content {
    padding: 16px;
  }
  .page-heading {
    align-items: flex-start;
  }
  .page-heading h1 {
    font-size: 26px;
  }
  .page-heading .actions {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .chart-legend {
    flex-wrap: wrap;
  }
  .profile {
    padding: 13px;
  }
}
@media (max-width: 760px) {
  .sidebar {
    width: 218px;
    transform: translateX(-102%);
    transition: transform 0.17s;
  }
  .sidebar .brand > span {
    display: inline;
  }
  .main {
    width: 100%;
    margin: 0;
  }
  .shell.open .sidebar {
    transform: translateX(0);
  }
  .shell.open .veil {
    display: block;
    position: fixed;
    inset: 0;
    background: #241c344a;
    z-index: 18;
  }
  .mobile-toggle {
    display: grid;
  }
  .topbar {
    height: 53px;
  }
  .crumb {
    margin-right: auto;
    gap: 6px;
  }
  .crumb > .icon:first-child {
    display: none;
  }
  .top-right {
    gap: 9px;
  }
  .searchbox {
    width: 30px;
    height: 30px;
    justify-content: center;
    padding: 0;
  }
  .searchbox span,
  .searchbox kbd,
  .vline {
    display: none;
  }
  .hero {
    min-height: 165px;
  }
  .hero h1 {
    font-size: 31px;
  }
  .hero-copy {
    padding: 20px;
  }
  .hero-foot {
    margin-top: 14px;
  }
  .hero canvas {
    width: 45%;
  }
  .metrics {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .board-grid {
    grid-template-columns: 1.65fr 1fr;
  }
  .sidebar .profile {
    padding-bottom: max(14px, env(safe-area-inset-bottom));
  }
}
@media (max-width: 600px) {
  #content {
    padding: 13px 12px 30px;
  }
  .hero {
    border-radius: 11px;
    min-height: 159px;
    background: linear-gradient(105deg, #211a3b, #32265d 60%, #47367b);
  }
  .hero-copy {
    max-width: 75%;
    padding: 18px 16px;
  }
  .hero h1 {
    font-size: 29px;
    margin: 10px 0 6px;
  }
  .hero p {
    font-size: 11px;
    max-width: 210px;
  }
  .hero-kicker {
    font-size: 8px;
    letter-spacing: 1.45px;
  }
  .hero-foot {
    font-size: 9px;
    gap: 5px;
  }
  .hero canvas {
    width: 44%;
    right: -4%;
    opacity: 0.88;
  }
  .section-heading {
    margin: 17px 0 10px;
  }
  .section-heading h2,
  .panel h2 {
    font-size: 15px;
  }
  .section-heading .actions {
    gap: 7px;
  }
  .quiet {
    font-size: 10px;
  }
  .primary,
  .secondary {
    font-size: 11px;
    padding: 8px 9px;
  }
  .metrics {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .metric {
    padding: 10px 13px;
  }
  .metric-icon {
    width: 24px;
    height: 24px;
  }
  .metric-icon .icon {
    width: 15px;
  }
  .metric-line {
    font-size: 11px;
    gap: 6px;
  }
  .metric strong {
    font-size: 26px;
    margin-top: 6px;
  }
  .metric small {
    font-size: 9px;
  }
  .metric-decor .icon {
    width: 44px;
    height: 44px;
  }
  .board-grid {
    grid-template-columns: 1fr;
    margin-top: 12px;
  }
  .portfolio .project-table td:last-child,
  .portfolio .project-table th:last-child {
    display: table-cell;
  }
  .picon {
    width: 28px;
    height: 28px;
  }
  .ptitle {
    gap: 6px;
  }
  .ptitle b {
    font-size: 11px;
  }
  .ptitle small {
    font-size: 9px;
  }
  .project-table th,
  .project-table td {
    padding-left: 4px;
    padding-right: 4px;
  }
  .project-table .progress > i {
    width: 26px;
  }
  .project-table .progress {
    gap: 3px;
    font-size: 9px;
  }
  .avatar-group .avatar {
    width: 18px;
    height: 18px;
    font-size: 8px;
  }
  .project-table .badge {
    font-size: 9px;
    padding: 3px 4px;
    gap: 3px;
  }
  .delivery .chart {
    height: 140px;
    flex: auto;
  }
  .lower {
    margin-top: 12px;
  }
  .page-heading {
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
  }
  .page-heading h1 {
    font-size: 24px;
  }
  .page-heading p {
    font-size: 12px;
  }
  .op-cards {
    gap: 7px;
  }
  .op-cards article {
    padding: 11px;
  }
  .op-cards h2 {
    font-size: 22px;
  }
  .op-cards .eyebrow {
    font-size: 8px;
  }
  .op-cards p {
    font-size: 10px;
  }
  .kanban {
    grid-template-columns: repeat(5, minmax(190px, 1fr));
  }
  .list-panel td,
  .list-panel th {
    padding: 8px;
    font-size: 11px;
  }
  .list-panel th:first-child,
  .list-panel td:first-child {
    padding-left: 10px;
  }
  .table-wrap table:not(.project-table) {
    min-width: 420px;
  }
  .dialog-body {
    padding: 14px;
  }
  .chart-legend span {
    font-size: 10px;
  }
}
@media (max-width: 350px) {
  .portfolio .project-table td:last-child,
  .portfolio .project-table th:last-child {
    display: none;
  }
  .hero-copy {
    max-width: 81%;
  }
  .quiet {
    max-width: 57px;
    white-space: normal;
  }
}
#sync-warning {
  position: fixed;
  z-index: 60;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff1d9;
  color: #846026;
  border: 1px solid #e9d5ac;
  box-shadow: 0 4px 16px #503a191a;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 12px;
}
.security-actions {
  margin-bottom: 16px;
}
.security-actions .dialog-actions {
  padding: 0 19px 18px;
}
.renew-session {
  width: min(410px, calc(100vw - 28px));
  max-height: 88dvh;
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0;
  color: inherit;
  box-shadow: 0 24px 100px #20173944;
}
.renew-session::backdrop {
  background: #211d374d;
}
.renew-session h2 {
  font-size: 17px;
}
.renew-session .form-error {
  margin-top: 12px;
}
