@font-face {
  font-family: Orbit;
  src: url("/fonts/sans.woff2") format("woff2");
  font-display: swap;
}
:root {
  color-scheme: dark;
  --canvas: #111113;
  --rail: #171719;
  --surface: #1b1b1e;
  --surface-raised: #272727;
  --surface-hover: #282828;
  --border: #ffffff12;
  --border-strong: #4e4e4e;
  --ink: #edf2ef;
  --subtle: #a5a5a5;
  --accent: #c6bfff;
  --accent-hover: #ded9ff;
  --accent-soft: #292633;
  --on-accent: #211d32;
  --error: #f0b4ac;
  --bg: var(--canvas);
  --panel: var(--surface);
  --line: var(--border);
  --text: var(--ink);
  --muted: var(--subtle);
  --sidebar: 232px;
  --inset: clamp(24px, 3.6vw, 64px);
  --columns: 12;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font:
    14px/1.5 Orbit,
    Arial,
    sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
button,
input,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
button,
a,
input,
textarea {
  touch-action: manipulation;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
button:disabled,
button[aria-disabled="true"] {
  cursor: wait;
  opacity: 0.65;
}
[hidden] {
  display: none !important;
}
.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;
}
.skip {
  position: fixed;
  z-index: 30;
  top: -100px;
  background: var(--accent);
  color: var(--on-accent);
  padding: 14px;
}
.skip:focus {
  top: 10px;
}
.sidebar {
  width: var(--sidebar);
  background: var(--rail);
  border-right: 1px solid var(--line);
  position: fixed;
  inset: 44px auto 0 0;
  padding: 32px 18px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.logo {
  font-size: 30px;
  font-weight: 650;
  letter-spacing: -1.5px;
}
.workspace-name {
  margin: 30px 0 28px;
  padding: 14px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 12px;
}
.workspace-name > span {
  background: var(--surface-raised);
  color: var(--accent);
  padding: 8px;
  border-radius: 5px;
  float: left;
  margin-right: 10px;
}
.workspace-name small,
.side-bottom small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-top: 3px;
}
.sidebar nav {
  display: grid;
  gap: 6px;
}
.sidebar nav a {
  padding: 12px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 13px;
}
.sidebar nav a span {
  display: inline-block;
  width: 26px;
  font-size: 17px;
}
.sidebar nav a[aria-current] {
  background: var(--accent-soft);
  color: var(--accent);
}
.sidebar nav a:hover {
  background: var(--surface-raised);
}
.side-bottom {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
}
.avatar {
  background: var(--surface-raised);
  color: var(--ink);
  display: grid;
  place-items: center;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  font-size: 11px;
  flex-shrink: 0;
}
.shell {
  margin-left: var(--sidebar);
}
.topbar,
main,
footer {
  max-width: 1600px;
  margin-inline: auto;
  padding-inline: var(--inset);
}
.topbar {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 12px;
  border-bottom: 1px solid var(--line);
}
.demo-label {
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--accent);
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  padding: 6px 10px;
  white-space: nowrap;
}
.muted {
  color: var(--muted);
}
main {
  padding-block: 36px;
  display: grid;
  grid-template-columns: repeat(var(--columns), minmax(0, 1fr));
  gap: 0;
}
main > * {
  grid-column: 1/-1;
  min-width: 0;
}
.page-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-bottom: 32px;
}
.eyebrow {
  font-size: 10px;
  letter-spacing: 1.6px;
  color: var(--subtle);
  font-weight: 600;
  margin: 0 0 12px;
}
h1 {
  font-size: clamp(38px, 3.6vw, 52px);
  line-height: 1.1;
  letter-spacing: -1.6px;
  font-weight: 600;
  margin: 0 0 12px;
}
h1 > span {
  color: var(--accent);
}
.page-title .muted {
  font-size: 14px;
  margin: 0;
  max-width: 55ch;
}
.primary,
.secondary,
.quiet {
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 11px 18px;
  min-height: 44px;
  font-weight: 600;
  font-size: 13px;
}
.primary {
  background: var(--accent);
  color: var(--on-accent);
}
.primary:hover {
  background: var(--accent-hover);
}
.secondary {
  background: var(--surface-raised);
  color: var(--text);
  border-color: var(--border-strong);
}
.quiet {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.quiet:hover,
.secondary:hover {
  background: var(--surface-hover);
}
.stats {
  display: grid;
  grid-template-columns: repeat(var(--columns), minmax(0, 1fr));
  gap: 0;
  border-block: 1px solid var(--line);
  background: var(--surface);
  margin-bottom: 28px;
}
.stats > div {
  grid-column: span 4;
  padding: 22px 26px;
}
.stats > div + div {
  border-left: 1px solid var(--line);
}
.stats > div > span {
  font-size: 12px;
  color: var(--subtle);
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.stats i {
  color: var(--subtle);
  font-style: normal;
  font-size: 16px;
}
.stats strong {
  font-size: 38px;
  font-weight: 500;
  letter-spacing: -1px;
  display: block;
  margin: 10px 0 4px;
  font-variant-numeric: tabular-nums;
}
.stats small {
  font-size: 12px;
  color: var(--muted);
}
.workspace-bar {
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
[role="tablist"] {
  display: flex;
  gap: 28px;
}
[role="tab"] {
  border: 0;
  color: var(--muted);
  background: none;
  padding: 17px 0;
  font-size: 14px;
  border-bottom: 2px solid transparent;
}
[role="tab"][aria-selected="true"] {
  color: var(--accent);
  border-bottom-color: var(--accent);
}
.switch {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
  min-height: 44px;
  cursor: pointer;
}
.switch input {
  appearance: none;
  background: var(--border-strong);
  border-radius: 20px;
  width: 34px;
  height: 20px;
  position: relative;
  margin: 0;
  flex-shrink: 0;
}
.switch input:before {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  left: 3px;
  top: 3px;
  border-radius: 50%;
  background: var(--ink);
}
.switch input:checked {
  background: var(--accent);
}
.switch input:checked:before {
  left: 17px;
}
.tools {
  display: flex;
  gap: 16px;
  align-items: end;
  padding-top: 20px;
  flex-wrap: wrap;
}
.tools form {
  flex: 1;
  position: relative;
  min-width: 220px;
}
.tools label[for="project-search"],
.filters legend {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 8px;
  padding: 0;
}
input[type="search"] {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 11px 14px 11px 40px;
  border-radius: 6px;
  color: var(--text);
  width: 100%;
  font-size: 14px;
  min-height: 44px;
}
.filters {
  border: 0;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 0;
  min-width: 0;
}
.filters label {
  position: relative;
}
.filters input {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}
.filters span {
  display: block;
  padding: 11px 12px;
  font-size: 12px;
  border: 1px solid var(--border-strong);
  color: var(--subtle);
  white-space: nowrap;
  min-height: 44px;
}
.filters label + label span {
  border-left: 0;
}
.filters label:first-of-type span {
  border-radius: 6px 0 0 6px;
}
.filters label:last-of-type span {
  border-radius: 0 6px 6px 0;
}
.filters input:checked + span {
  background: var(--surface-raised);
  color: var(--ink);
  box-shadow: inset 0 -2px var(--accent);
}
.filters input:focus-visible + span {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  position: relative;
  z-index: 1;
}
.filter-hint {
  font-size: 12px;
  color: var(--muted);
  margin: 12px 0 0;
}
.results-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  min-height: 52px;
  font-size: 12px;
  color: var(--muted);
}
.text-button {
  border: 0;
  background: none;
  color: var(--accent);
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 4px;
  padding: 10px;
  min-height: 40px;
}
.projects-layout {
  display: grid;
  grid-template-columns: repeat(var(--columns), minmax(0, 1fr));
  gap: 0;
  align-items: start;
}
.projects-layout > * {
  grid-column: 1/-1;
  min-width: 0;
}
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 8px 32px #00000018;
  position: relative;
}
table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  min-width: 720px;
  table-layout: fixed;
}
th:first-child {
  width: 34%;
}
th:nth-child(2) {
  width: 19%;
}
th:nth-child(3) {
  width: 21%;
}
th:nth-child(4) {
  width: 12%;
}
th:last-child {
  width: 14%;
}
th {
  font-size: 10px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--subtle);
  padding: 15px 18px;
  background: #202427;
}
td {
  padding: 15px 18px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  overflow-wrap: anywhere;
}
tr:hover td,
tr.selected td {
  background: var(--surface-hover);
}
.project-button {
  background: none;
  color: var(--text);
  padding: 0;
  border: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  min-height: 44px;
  width: 100%;
}
.project-button strong {
  font-size: 14px;
  font-weight: 600;
}
.project-button:hover strong {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.project-button small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-top: 4px;
}
.project-icon {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3px;
  border: 1px solid var(--border);
  color: var(--subtle);
  background: var(--surface-raised);
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 11px;
}
.project-icon.violet {
  background: var(--surface-raised);
  color: var(--ink);
}
.project-icon.rose {
  background: var(--surface-raised);
  color: var(--ink);
}
.badge {
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 11px;
  padding: 5px 9px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.badge::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}
.badge.review {
  background: #302d22;
  color: #d5c99b;
}
.badge.planned {
  background: var(--surface);
  color: var(--subtle);
}
.owner {
  display: flex;
  gap: 8px;
  align-items: center;
}
.owner span {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: var(--surface-raised);
  border-radius: 50%;
  font-size: 9px;
}
.archive {
  padding: 8px;
  color: var(--subtle);
  background: none;
  border: 1px solid transparent;
  border-radius: 5px;
  font-size: 11px;
  min-height: 36px;
}
.archive:hover {
  background: var(--surface-hover);
  color: var(--text);
}
body.compact td {
  padding-block: 8px;
}
body.compact .project-button {
  min-height: 36px;
}
.list-footer {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--muted);
  gap: 20px;
  padding: 16px 0;
}
.empty {
  padding: 48px 24px;
  text-align: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.empty > span {
  font-size: 32px;
  color: var(--accent);
}
.empty h2 {
  font-size: 24px;
  font-weight: 500;
}
.empty p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}
.recovery {
  padding: 16px 20px;
  margin-top: 12px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  border-radius: 7px;
}
.feedback {
  font-size: 13px;
  color: var(--accent);
  min-height: 36px;
  padding-top: 12px;
}
.detail {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 14px;
  padding: 26px;
  margin: 0 0 20px;
  scroll-margin-top: 24px;
}
.detail-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.detail-heading .eyebrow {
  margin: 0;
}
.detail h2 {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.8px;
  line-height: 1.2;
  margin: 24px 0 14px;
  overflow-wrap: anywhere;
}
.detail > p {
  color: var(--subtle);
  line-height: 1.7;
  font-size: 13px;
  overflow-wrap: anywhere;
}
.detail dl {
  margin-top: 24px;
}
.detail dl > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
}
.detail dt {
  color: var(--muted);
}
.detail dd {
  margin: 0;
  text-align: right;
}
.detail label {
  display: block;
  font-size: 13px;
  margin: 24px 0 8px;
}
.small {
  font-size: 12px;
}
.activity {
  padding: 28px 0;
}
.activity h2 {
  font-size: 28px;
  font-weight: 600;
  margin: 10px 0;
}
.activity ol {
  padding: 0;
  list-style: none;
  margin-top: 28px;
}
.activity li {
  display: flex;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.activity li p {
  color: var(--muted);
  font-size: 12px;
  margin: 6px 0 0;
}
.activity-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  margin-top: 7px;
  flex-shrink: 0;
}
.activity-dot.purple {
  background: var(--subtle);
}
dialog {
  width: min(500px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  padding: 32px;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  box-shadow: 0 24px 90px #0009;
  overflow-y: auto;
}
dialog::backdrop {
  background: #090909cc;
  backdrop-filter: blur(5px);
}
dialog h2 {
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -1px;
  line-height: 1.2;
  margin: 16px 0 12px;
}
dialog p {
  font-size: 13px;
  color: var(--subtle);
  line-height: 1.7;
}
dialog label {
  display: block;
  font-size: 13px;
  margin: 22px 0 8px;
}
dialog label span {
  color: var(--muted);
  font-size: 12px;
}
dialog input,
textarea {
  width: 100%;
  background: var(--canvas);
  border: 1px solid var(--border-strong);
  border-radius: 5px;
  color: var(--text);
  padding: 12px;
  font-size: 14px;
  resize: vertical;
}
input[aria-invalid="true"] {
  border-color: var(--error);
}
.field-error {
  color: var(--error);
  margin: 8px 0 0;
}
.draft-note {
  color: var(--subtle);
  font-size: 12px;
}
.dialog-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 24px;
}

footer {
  border-top: 1px solid var(--line);
  padding-block: 24px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 12px;
}
.noscript {
  padding: 20px;
  background: var(--surface-raised);
  position: fixed;
  bottom: 0;
  inset-inline: 0;
  z-index: 20;
}
@media (max-width: 1100px) {
  :root {
    --sidebar: 196px;
    --inset: 24px;
    --columns: 6;
  }
  .stats > div {
    grid-column: span 2;
    padding: 20px 16px;
  }
  .stats small {
    font-size: 11px;
  }
  .tools form {
    flex-basis: 100%;
  }
  .filters {
    flex: 1;
  }

  .owner span {
    display: none;
  }
}
@media (max-width: 760px) {
  :root {
    --sidebar: 0px;
    --inset: 20px;
    --columns: 4;
  }
  .sidebar {
    position: static;
    width: auto;
    padding: 16px var(--inset);
    flex-direction: row;
    align-items: center;
    gap: 20px;
    border-bottom: 1px solid var(--line);
    border-right: 0;
  }
  .logo {
    font-size: 26px;
  }
  .workspace-name,
  .side-bottom {
    display: none;
  }
  .sidebar nav {
    margin-left: auto;
    display: flex;
    gap: 8px;
  }
  .sidebar nav a {
    font-size: 12px;
    padding: 10px 4px;
  }
  .sidebar nav a:first-child,
  .sidebar nav a span {
    display: none;
  }
  .topbar {
    min-height: 58px;
    font-size: 11px;
  }
  .demo-label {
    font-size: 9px;
    letter-spacing: 0.6px;
  }
  main {
    padding-block: 28px;
  }
  .page-title {
    align-items: start;
    flex-direction: column;
    gap: 20px;
    padding-bottom: 24px;
  }
  h1 {
    font-size: 42px;
  }
  .page-title .muted {
    font-size: 13px;
  }
  .stats {
    margin-bottom: 16px;
  }
  .stats > div {
    grid-column: 1/-1;
    padding: 16px 0;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    column-gap: 16px;
    background: none;
  }
  .stats > div + div {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .stats > div > span {
    padding-left: 16px;
    font-size: 12px;
  }
  .stats i {
    display: none;
  }
  .stats strong {
    grid-column: 2;
    grid-row: 1/3;
    margin: 0;
    padding-right: 16px;
    font-size: 30px;
  }
  .stats small {
    grid-column: 1;
    padding-left: 16px;
    margin-top: 4px;
    font-size: 11px;
  }
  .workspace-bar {
    gap: 12px;
  }
  [role="tablist"] {
    gap: 24px;
  }
  .switch {
    font-size: 11px;
    gap: 8px;
  }
  .tools {
    gap: 12px;
  }
  .tools form {
    min-width: 0;
  }
  .filters {
    flex-basis: 100%;
  }
  .filters label {
    flex: 1;
    text-align: center;
  }
  .filters span {
    padding: 11px 6px;
    font-size: 11px;
  }
  .tools > .quiet {
    margin-left: auto;
  }
  .filter-hint {
    margin-top: 14px;
  }
  .list-footer {
    font-size: 11px;
    line-height: 1.7;
  }
  .list-footer span:last-child {
    display: none;
  }
  .detail {
    padding: 20px;
  }
  .detail h2 {
    font-size: 26px;
  }
  .detail-heading .eyebrow {
    font-size: 9px;
  }
  .recovery {
    align-items: start;
    font-size: 12px;
    flex-direction: column;
    gap: 8px;
  }

  footer {
    font-size: 11px;
    flex-wrap: wrap;
  }
  dialog {
    padding: 24px;
  }
  .dialog-actions > * {
    flex: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}

.table-hint {
  display: none;
}
@media (max-width: 760px) {
  .table-hint {
    display: block;
    color: var(--muted);
    font-size: 12px;
    margin: 0 0 12px;
  }
}

.logo {
  display: flex;
  align-items: center;
  gap: 9px;
}
.orbit-mark {
  width: 25px;
  height: 25px;
  color: var(--accent);
  flex-shrink: 0;
}
.nav-icon {
  width: 17px;
  height: 17px;
  vertical-align: -3px;
}
.sidebar nav a[aria-current] {
  background: var(--surface-raised);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px #dbdbdb18;
}
.sidebar nav a span {
  color: var(--subtle);
}
.workspace-name {
  background: var(--surface);
  border-color: var(--border);
}
.workspace-name > span {
  color: var(--subtle);
}
.demo-label {
  border-color: var(--border);
  color: var(--subtle);
  font-size: 9px;
  letter-spacing: 1.1px;
}
.page-title .eyebrow {
  display: none;
}
h1 > span {
  display: none;
}
.stats {
  border-radius: 12px;
  border: 1px solid var(--border);
}
.stats i {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--accent);
}
.stats i svg { width: 16px; height: 16px; }
.stats strong {
  color: var(--ink);
}
.primary {
  box-shadow: inset 0 1px 0 #ffffff55, 0 3px 12px #dbdbdb10;
}
.filters input:checked + span {
  background: var(--accent-soft);
  color: var(--accent);
  box-shadow: inset 0 0 0 1px #8f8f8f;
}
.switch input:checked::before {
  background: var(--on-accent);
}
.project-icon.violet {
  background: #262730;
  color: #b8b5ce;
}
.project-icon.rose {
  background: #30262b;
  color: #cbb5c0;
}
.project-button strong {
  font-weight: 500;
}
.project-button small {
  font-size: 11px;
}
tr.selected td:first-child {
  box-shadow: inset 0 0 0 1px #dbdbdb18;
}
.archive:hover {
  border-color: var(--border-strong);
}
.detail {
  box-shadow: 0 8px 28px #0002;
}
.detail-heading .quiet {
  border-color: transparent;
  padding-inline: 8px;
}
dialog {
  padding: 32px;
  background: var(--surface);
}
dialog h2 {
  margin-top: 12px;
}
dialog .eyebrow {
  color: var(--subtle);
}
.activity-dot,
.activity-dot.purple {
  width: 7px;
  height: 7px;
  background: var(--subtle);
}
.activity li:first-child .activity-dot {
  background: var(--accent);
}

.recovery {
  border-left: 3px solid var(--accent);
}
@media (max-width: 760px) {
  .stats > div {
    padding: 13px 0;
  }
  .stats strong {
    font-size: 27px;
  }
  .stats small {
    font-size: 11px;
  }
  .sidebar .logo {
    font-size: 25px;
  }
  .orbit-mark {
    width: 22px;
    height: 22px;
  }
  dialog {
    padding: 24px;
  }
}

.badge.planned::before {
  background: transparent;
  border: 1px solid currentColor;
}
.badge.review::before {
  border-radius: 1px;
}
.primary,
.secondary,
.quiet,
.archive,
.sidebar nav a {
  transition:
    background-color 140ms ease,
    border-color 140ms ease;
}

@media (max-width: 760px) {
  .dialog-actions button {
    font-size: 12px;
    padding-inline: 10px;
    white-space: nowrap;
  }
}

.rail-label { margin: 0 12px 12px; font-size: 9px; letter-spacing: 1.8px; color: #828282; }
.page-kicker { margin: 0 0 14px; color: #929292; font-size: 9px; font-weight: 600; letter-spacing: 1.8px; }
.page-kicker span { margin-inline: 7px; color: #5f5f5f; }
h1 > .title-dot { display: inline; color: var(--accent); }
#new-project { display: inline-flex; align-items: center; gap: 14px; }
#new-project > span { font-size: 22px; line-height: 1; font-weight: 400; }
.search-icon { position: absolute; width: 18px; height: 18px; left: 14px; bottom: 13px; color: #8f8f8f; pointer-events: none; }
.stats > div { position: relative; }
.stats > div:first-child { background: linear-gradient(110deg, #dbdbdb08, transparent); }
.stats > div > span { align-items: center; }
.stats strong { margin-top: 2px; }
.stats small { color: #8f8f8f; }
.table-wrap:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
td:nth-child(4) { color: #bababa; font-size: 12px; font-variant-numeric: tabular-nums; }
.archive { border: 1px solid var(--line); font-size: 10px; padding-inline: 10px; }
.project-button strong { letter-spacing: -.15px; }
.project-icon { box-shadow: inset 0 1px 0 #ffffff05; }
.detail { background: linear-gradient(145deg, #262626, #191d20 50%); border-color: #dbdbdb2b; }
dialog { background: linear-gradient(135deg, #2a2a2a, #1e1e1e 45%); border-color: #dbdbdb38; }
@media (max-width: 760px) {
  .rail-label { display: none; }
  .page-title { flex-direction: row; flex-wrap: wrap; align-items: end; }
  .page-title > div { flex-basis: 100%; }
  .page-kicker { font-size: 9px; }
  .stats i { display: none; }
  .stats > div { padding: 14px 0; }
  .stats strong { margin: 0; }
  .tools .filters span { font-size: 10px; }
  .demo-label { padding: 5px 8px; }
}

@media (min-width: 761px) {
  .stats > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    padding: 24px 26px;
  }
  .stats > div > span { grid-column: 1; justify-content: flex-start; gap: 10px; }
  .stats strong { grid-column: 2; grid-row: 1 / 3; margin: 0 0 0 20px; font-size: 44px; line-height: 1; color: #e4e4e4; }
  .stats small { grid-column: 1; padding-top: 4px; }
  .stats i { width: 20px; height: 20px; border: 0; order: -1; }
}
.topbar .muted { color: #7f7f7f; }
.table-wrap { border-color: #ffffff14; }
thead th { border-bottom: 1px solid #ffffff0a; }
tr:hover td { background: #2f2f2f; }
tr.selected td { background: #323232; }
.project-icon { border-color: #ffffff0e; }
.primary { border-color: #ebebeb50; }
.logo .orbit-mark { width: 30px; height: 30px; }
.sidebar nav a { display: flex; align-items: center; gap: 3px; }
.sidebar nav a[aria-current] { background: #e1e1e10c; color: #e6e6e6; }
.sidebar nav a[aria-current] .nav-icon { color: var(--accent); }
#project-list { min-width: 0; }
@media (max-width: 1100px) and (min-width: 761px) {
  .stats > div { padding: 20px 16px; }
  .stats strong { font-size: 34px; margin-left: 10px; }
  .stats small { font-size: 10px; }
}

main { padding-top: 44px; }
.page-title { padding-bottom: 32px; }
.page-kicker { letter-spacing: 2px; }
h1 { font-size: clamp(40px, 3.8vw, 56px); font-weight: 500; }
.page-title .muted { color: #989898; font-size: 13px; }
.stats { background: transparent; border: 0; border-radius: 0; margin-bottom: 32px; }
.stats > div { border: 0; background: none; padding: 18px 24px; }
.stats > div:first-child { background: none; }
.stats > div + div { border-left: 1px solid var(--line); }
.stats > div > span { font-size: 11px; color: #a0a0a0; }
.stats i { display: none; }
.stats small { display: none; }
.stats strong { font-size: 34px; color: #e8e8e8; }
.workspace-bar { background: #1d1d1d; padding-inline: 22px; border: 1px solid var(--line); border-bottom: 0; border-radius: 12px 12px 0 0; }
[role="tab"] { padding-block: 18px; font-size: 13px; }
[role="tab"][aria-selected="true"] { color: #e9e9e9; }
.tools { background: #1c1c1c; padding: 20px 22px 12px; border-inline: 1px solid var(--line); gap: 16px; }
.tools form { flex: 1 1 250px; }
.tools label[for="project-search"], .filters legend { font-size: 10px; letter-spacing: .3px; color: #919191; }
input[type="search"] { background: #141414; border-color: #ffffff14; border-radius: 8px; font-size: 12px; }
input[type="search"]::placeholder { color: #838383; }
.filters span { border-color: #ffffff14; background: #171717; padding-inline: 14px; font-size: 11px; }
.filters input:checked + span { background: #373737; color: #dddddd; box-shadow: inset 0 0 0 1px #b7b7b72e; }
.tools > .quiet { border-color: #ffffff14; font-size: 11px; }
.filter-hint { padding: 0 22px 18px; margin: 0; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 12px 12px; background: #1c1c1c; color: #8a8a8a; font-size: 11px; }
.results-meta { min-height: 66px; padding-inline: 2px; gap: 12px; }
.index-label { font-size: 13px; font-weight: 500; color: #d0d0d0; }
#result-status { font-size: 10px; background: #232323; border: 1px solid #ffffff0b; padding: 3px 8px; border-radius: 20px; color: #a3a3a3; }
th { background: #212121; padding-block: 14px; font-size: 9px; letter-spacing: 1.2px; color: #989898; }
td { padding-block: 17px; border-color: #ffffff0b; }
.table-wrap { background: #1b1b1b; border-radius: 12px; box-shadow: 0 10px 40px #00000020; }
.project-icon { width: 38px; height: 38px; background: #303030; color: #c4c4c4; border-radius: 10px; }
.project-icon.violet { background: #2a2936; color: #bdb7d3; }
.project-icon.rose { background: #33292f; color: #d0b8c5; }
.project-button { gap: 14px; }
.project-button strong { font-size: 13px; font-weight: 500; }
.project-button small { margin-top: 5px; color: #898989; font-size: 10px; }
.owner { font-size: 12px; color: #b8b8b8; }
.owner span { background: #2f2f2f; color: #a9a9a9; border: 1px solid #ffffff0a; }
.badge { padding: 5px 9px; background: #343434; color: #cdcdcd; border: 1px solid #dbdbdb10; font-size: 10px; }
.badge.review { background: #332f23; color: #d3c698; }
.badge.planned { background: #272727; color: #a3a3a3; }
.archive { color: #939393; border-color: transparent; font-size: 10px; }
.archive:hover, .archive:focus-visible { background: #333333; border-color: #ffffff1a; color: #eaeaea; }
.detail { border-radius: 14px; background: #222222; box-shadow: 0 16px 44px #0002; }
.detail h2 { font-size: 26px; font-weight: 500; }
.detail dl > div { padding-block: 15px; }
.detail textarea { border-radius: 10px; background: #181818; border-color: #4e4e4e; }
.detail .small { color: #939393; }
.logo { letter-spacing: -1px; }
.workspace-name { border-color: #ffffff10; background: #ffffff03; }
.sidebar nav a[aria-current] { background: #dbdbdb12; box-shadow: inset 2px 0 #dbdbdb; }
.side-bottom { padding-block: 22px 0; }
@media (min-width: 1101px) {
  .page-title { grid-column: 1 / 8; grid-row: 1; flex-wrap: wrap; padding-right: 24px; }
  .page-title > div { flex-basis: 100%; }
  .stats { grid-column: 8 / -1; grid-row: 1; align-self: center; }
  .stats > div { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 12px 18px; }
  .stats strong { order: -1; margin: 0 0 10px; font-size: 36px; font-weight: 400; }
  .stats > div > span { font-size: 10px; }
  .stats i { display: none; }
  .tools form { max-width: 380px; }
}
@media (max-width: 1100px) and (min-width: 761px) {
  .stats > div { display: flex; align-items: center; justify-content: space-between; padding: 16px; }
  .stats strong { margin: 0; font-size: 30px; }
  .stats i { display: none; }
  .tools form { flex-basis: 100%; max-width: none; }
}
@media (max-width: 760px) {
  main { padding-top: 28px; }
  .page-title { padding-bottom: 22px; }
  .page-title h1 { font-size: 44px; }
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 28px; background: #1d1d1d; }
  .stats > div { grid-column: span 1; display: flex; flex-direction: column; align-items: flex-start; padding: 16px 12px; }
  .stats > div + div { border-top: 0; border-left: 1px solid var(--line); }
  .stats > div > span { padding: 0; font-size: 10px; }
  .stats strong { order: -1; padding: 0; margin: 0 0 8px; font-size: 28px; }
  .stats i { display: none; }
  .workspace-bar { padding-inline: 16px; }
  .tools { padding: 16px 16px 12px; }
  .tools .filters span { padding-inline: 6px; font-size: 10px; }
  .filter-hint { padding-inline: 16px; font-size: 10px; }
  .tools > .quiet { min-height: 36px; padding: 8px 12px; }
  .switch { font-size: 10px; }
  .results-meta { min-height: 60px; }
}

body.drawer-open { overflow: hidden; }
#detail {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(480px, 100%);
  max-width: 100%;
  height: 100dvh;
  max-height: 100dvh;
  margin: 0;
  padding: 28px;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 0;
  border-left: 1px solid var(--border-strong);
  border-radius: 0;
  box-shadow: -16px 0 48px #0005;
}
#detail::backdrop { background: #0c0c0cb3; }
@media (max-width: 600px) {
  #detail { width: 100%; padding: 24px; border-left: 0; }
}

.primary { background: #ededf0; color: #19191d; border-color: #fff2; box-shadow: 0 1px 2px #0003; }
.primary:hover { background: #fff; }
.sidebar nav a[aria-current] { background: #ffffff06; box-shadow: inset 2px 0 var(--accent); }
.filters input:checked + span { background: #2b2835; color: #ddd7ff; box-shadow: inset 0 0 0 1px #c6bfff38; }
tr:hover td { background: #242427; }
tr.selected td { background: #292731; }
.badge { background: #2a2736; color: #c9bff1; border-color: #c6bfff18; }
.badge.review { background: #302b22; color: #dcc491; }
.badge.planned { background: #27272b; color: #b1b1bb; }
.detail, dialog { background: #1c1c1f; border-color: #ffffff20; }
.detail textarea { background: #151517; border-color: #ffffff26; border-radius: 6px; }
.detail .small { color: #a0a0a9; }
.detail-heading { padding-bottom: 20px; border-bottom: 1px solid var(--line); }
#detail h2 { margin-top: 28px; font-size: 30px; letter-spacing: -1px; }
#detail::backdrop { background: #08080ab3; backdrop-filter: blur(2px); }
