.workspace {
  --rail: #142238;
  --rail-muted: #aab9ce;
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  min-height: 100vh;
  background: #f4f6fa;
}
.workspace-sidebar {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  height: 100vh;
  height: 100dvh;
  overflow: auto;
  padding: 24px 14px 14px;
  background: var(--rail);
  color: #eef4ff;
}
.workspace-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 4px 9px 24px;
  border-bottom: 1px solid #ffffff19;
}
.workspace-brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: #4270f6;
  color: #fff;
  font-size: 19px;
  font-weight: 750;
}
.workspace-brand strong { font-size: 16px; }
.workspace-brand small,
.workspace-account small { display: block; color: var(--rail-muted); font-size: 12px; }
.workspace-nav { display: grid; gap: 22px; padding: 22px 0; }
.workspace-nav-group { display: grid; gap: 4px; }
.workspace-nav-heading { padding: 0 11px 4px; color: var(--rail-muted); font-size: 12px; }
.workspace-nav-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 44px;
  padding: 8px 11px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  color: #dce5f3;
  text-align: left;
  font-weight: 600;
  transition: background .18s, color .18s, border-color .18s;
}
.workspace-nav-item:hover { background: #ffffff12; color: #fff; }
.workspace-nav-item[aria-current="page"] { background: #244375; color: #fff; border-color: #7ea5ff42; }
.workspace-nav-item[aria-current="page"]::before {
  content: "";
  position: absolute;
  left: 0;
  inset-block: 10px;
  width: 3px;
  border-radius: 0 4px 4px 0;
  background: #94b6ff;
}
.workspace-nav-icon { width: 21px; flex: none; text-align: center; color: #aac1ec; font-size: 17px; line-height: 1; }
.workspace-nav-item[aria-current="page"] .workspace-nav-icon { color: #d4e4ff; }
.workspace-nav-short { display: none; }
.workspace-account {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  margin-top: auto;
  padding: 12px 8px;
  border-top: 1px solid #ffffff19;
}
.workspace-account strong { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 13px; }
.workspace-signout { border: 0; border-radius: 7px; padding: 6px 9px; color: #dce5f3; background: transparent; transition: background .18s; }
.workspace-signout:hover { background: #ffffff1a; }
.workspace-signout-mobile { display: none; }
.workspace-main { min-width: 0; }
.workspace-top {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 58px;
  padding: 0 clamp(16px, 3vw, 40px);
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.workspace-breadcrumb { display: flex; gap: 10px; align-items: center; color: #64748b; font-size: 13px; }
.workspace-breadcrumb strong { color: var(--ink); }
.workspace-content { max-width: 1400px; padding: 28px clamp(16px, 3vw, 40px); }
.board-heading { gap: 12px; }
.board-heading .primary { flex: none; }
.board-heading p { color: #63748a; }
.board-stats { gap: 12px; }
.board-stat { min-width: 0; padding: 14px 16px; border-top: 3px solid var(--stat-accent); }
.board-stat span { color: #52637a; }
.board-stat strong { margin-top: 4px; font-size: clamp(24px, 3vw, 31px); font-variant-numeric: tabular-nums; }
.board-stat.total { --stat-accent: #4f76f4; }
.board-stat.open { --stat-accent: #ba7921; }
.board-stat.urgent { --stat-accent: #d15a61; }
.board-stat.done { --stat-accent: #28916f; }
.board-list-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; padding: 14px 16px 2px; }
.board-list-head h2 { margin: 0; font-size: 16px; }
.board-list-head h2 span { color: #62748a; font-size: 12px; font-weight: 500; margin-left: 7px; }
.board-list-head input { width: min(100%, 300px); }
.board-filters { gap: 8px; background: #fff; }
.board-filters .control { min-width: 0; padding: 8px 10px; color: #46566a; }
.board-table-wrap { overflow: auto; }
.board-panel .table td:first-child { width: 44%; }
.board-issue-title {
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  color: var(--ink);
  font-weight: 650;
  overflow-wrap: anywhere;
}
.board-issue-title:hover { color: #2f56cf; }
.board-issue-meta { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; color: #64748b; }
.board-issue-meta span + span::before { content: "·"; margin-right: 8px; }
@media (max-width: 900px) {
  .workspace { grid-template-columns: 80px minmax(0, 1fr); }
  .workspace-sidebar { padding-inline: 8px; }
  .workspace-brand { justify-content: center; padding-inline: 0; }
  .workspace-brand div, .workspace-nav-heading, .workspace-nav-label, .workspace-account div { display: none; }
  .workspace-nav-short { display: block; font-size: 11px; }
  .workspace-nav-item { flex-direction: column; justify-content: center; gap: 4px; min-height: 52px; padding: 6px 2px; }
  .workspace-account { grid-template-columns: 1fr; justify-items: center; padding-inline: 0; }
  .board-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 580px) {
  .workspace { display: block; padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
  .workspace-sidebar {
    position: fixed;
    inset: auto 0 0;
    z-index: 3;
    height: auto;
    overflow: visible;
    padding: 5px 8px calc(5px + env(safe-area-inset-bottom));
    box-shadow: 0 -4px 18px #16243b1a;
  }
  .workspace-brand, .workspace-account { display: none; }
  .workspace-nav { display: flex; gap: 5px; padding: 0; }
  .workspace-nav-group { display: contents; }
  .workspace-nav-item { flex: 1; width: auto; }
  .workspace-nav-item[aria-current="page"]::before { display: none; }
  .workspace-top { min-height: 50px; }
  .workspace-signout-mobile { display: inline-block; color: #46566a; font-size: 12px; }
  .workspace-signout-mobile:hover { background: #edf2ff; }
  .workspace-content { padding: 18px 12px; }
  .board-heading h1 { font-size: 22px; }
  .board-heading p { font-size: 12px; }
  .board-list-head { padding-inline: 12px; }
  .board-list-head input { width: 100%; }
  .board-filters .control { flex: 1 1 85px; }
  .board-panel .table td:first-child { width: 50%; }
  .board-panel :is(th, td):nth-child(n+4) { display: none; }
}
.workspace-notifications { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; flex: none; }
.workspace-notifications svg { display: block; flex: none; }
.workspace-notifications > b { display: grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: #c65e5c; color: #fff; font-size: 10px; font-weight: 650; }
.workspace-notifications > b[hidden] { display: none; }
.workspace-notifications:hover svg { transform: rotate(-8deg); }
.workspace-notifications svg { transition: transform .18s ease; }
@media (max-width: 580px) { .workspace-notifications { gap: 5px; padding: 7px 9px; font-size: 12px; } }
@media (prefers-reduced-motion: reduce) { .workspace-notifications svg { transition: none; } }
