@font-face {
  font-family: Geist;
  src: url("/fonts/geist.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: Geist Mono;
  src: url("/fonts/geist-mono.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --sans: "Geist",
    ui-sans-serif,
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

body {
  font-family: var(--sans);
  font-synthesis: none;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  margin: 0;
  font-size: 13.5px;
  line-height: 1.5;
}

[data-theme="dark"] {
  --lightningcss-light: ;
  --lightningcss-dark: initial;
  color-scheme: dark;
}

[data-theme="light"] {
  --lightningcss-light: initial;
  --lightningcss-dark: ;
  color-scheme: light;
}

button, input, textarea {
  font: inherit;
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

::selection {
  background: var(--signal);
  color: var(--on-signal);
}

:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 2px;
}

.sr-only {
  clip-path: inset(50%);
  white-space: nowrap;
  width: 1px;
  height: 1px;
  position: absolute;
  overflow: hidden;
}

button, .button {
  border: 1px solid var(--strong);
  background: var(--raised);
  min-height: 32px;
  color: var(--ink);
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 1px 2px var(--shadow);
  transition: background-color .14s var(--ease),
    border-color .14s var(--ease),
    color .14s var(--ease);
  border-radius: 7px;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 500;
  display: inline-flex;
}

button:hover, .button:hover {
  background: var(--hover);
}

button:disabled {
  opacity: .5;
  cursor: not-allowed;
}

button:disabled[aria-busy="true"], form[aria-busy="true"] button {
  cursor: wait;
}

.primary {
  background: var(--signal);
  color: var(--on-signal);
  border-color: #0000;
  font-weight: 600;
  box-shadow: 0 0 0 1px #ffb2244d, 0 4px 14px -4px #ffb22466, inset 0 1px #ffffff59;
}

.primary:hover {
  background: #ffc14d;
}

.quiet {
  box-shadow: none;
  background: none;
  border-color: #0000;
}

.quiet:hover {
  background: var(--hover);
}

.danger {
  color: var(--danger);
}

.icon-button {
  width: 28px;
  min-height: 28px;
  color: var(--muted);
  box-shadow: none;
  background: none;
  border-color: #0000;
  padding: 0;
}

.icon-button:hover {
  color: var(--ink);
  background: var(--hover);
}

input, textarea {
  border: 1px solid var(--strong);
  background: var(--canvas);
  max-width: 100%;
  min-height: 34px;
  color: var(--ink);
  transition: border-color .14s var(--ease), box-shadow .14s var(--ease);
  border-radius: 7px;
  padding: 6px 10px;
  font-size: 13.5px;
}

input::placeholder, textarea::placeholder {
  color: var(--faint);
}

input:hover, textarea:hover {
  border-color: var(--faint);
}

input:focus, textarea:focus {
  border-color: var(--signal);
  outline: none;
  box-shadow: 0 0 0 3px #ffb22433;
}

input:not([type="checkbox"]):not([type="hidden"]):not([type="color"]), textarea {
  width: 100%;
}

input[type="checkbox"] {
  width: 15px;
  height: 15px;
  min-height: 0;
  accent-color: var(--signal);
  margin: 0;
}

input[type="color"] {
  width: 56px;
  padding: 3px;
}

textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

label {
  color: var(--muted);
  gap: 6px;
  font-size: 12.5px;
  font-weight: 500;
  display: grid;
}

fieldset {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin: 0;
  padding: 14px 16px 16px;
}

legend {
  color: var(--muted);
  padding: 0 6px;
  font-size: 12.5px;
  font-weight: 500;
}

.check {
  color: var(--ink);
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 400;
  display: flex;
}

h1, h2, h3, p {
  margin: 0;
}

h1 {
  letter-spacing: -.03em;
  text-wrap: balance;
  font-size: 24px;
  font-weight: 600;
  line-height: 32px;
}

h2 {
  letter-spacing: -.015em;
  font-size: 15px;
  font-weight: 600;
  line-height: 22px;
}

h3 {
  font-size: 13px;
  font-weight: 500;
}

.muted, small {
  color: var(--muted);
}

.faint {
  color: var(--faint);
}

small {
  font-size: 12px;
}

.mono, code, kbd, time, .count {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-size: 12px;
}

.count, .badge {
  border: 1px solid var(--border);
  background: var(--panel);
  min-width: 22px;
  height: 22px;
  color: var(--muted);
  text-transform: capitalize;
  border-radius: 999px;
  justify-content: center;
  align-items: center;
  padding: 0 7px;
  font-size: 11.5px;
  font-weight: 500;
  display: inline-flex;
}

.badge:empty {
  display: none;
}

.eyebrow {
  font-family: var(--mono);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--faint);
  font-size: 11px;
  font-weight: 450;
}

kbd {
  border: 1px solid var(--strong);
  background: var(--raised);
  min-width: 18px;
  height: 18px;
  color: var(--muted);
  border-radius: 4px;
  place-items: center;
  padding: 0 4px;
  font-size: 10.5px;
  display: inline-grid;
}

.skip {
  z-index: 100;
  background: var(--signal);
  color: var(--on-signal);
  border-radius: 8px;
  padding: 10px 14px;
  font-weight: 600;
  position: fixed;
  top: -80px;
  left: 16px;
}

.skip:focus {
  top: 16px;
}

.app {
  grid-template-columns: 232px minmax(0, 1fr);
  min-height: 100dvh;
  display: grid;
}

.sidebar {
  border-right: 1px solid var(--border);
  background: var(--panel);
  flex-direction: column;
  gap: 14px;
  height: 100dvh;
  padding: 14px 10px 10px;
  display: flex;
  position: sticky;
  top: 0;
  overflow-y: auto;
}

.brand {
  letter-spacing: -.02em;
  align-items: center;
  gap: 9px;
  padding: 4px 8px;
  font-size: 14.5px;
  font-weight: 600;
  display: inline-flex;
}

.brand-name {
  font-family: var(--mono);
  letter-spacing: -.02em;
  font-weight: 500;
}

.brand-name span {
  color: var(--accent);
}

.mark-cursor {
  fill: var(--ink);
}

.mark {
  flex: none;
  width: 22px;
  height: 22px;
}

.mark-check {
  fill: none;
  stroke: var(--signal);
  stroke-width: 3px;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon {
  flex: none;
  width: 16px;
  height: 16px;
}

.icon path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4px;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.switcher .select {
  background: var(--raised);
}

.sidebar nav {
  gap: 1px;
  display: grid;
}

.sidebar nav .eyebrow {
  padding: 14px 10px 6px;
}

.sidebar nav .eyebrow:first-child {
  padding-top: 4px;
}

.sidebar nav a {
  height: 30px;
  color: var(--muted);
  transition: background-color .12s var(--ease), color .12s var(--ease);
  border-radius: 6px;
  align-items: center;
  gap: 10px;
  padding: 0 10px;
  font-weight: 450;
  display: flex;
  position: relative;
}

.sidebar nav a:hover {
  background: var(--hover);
  color: var(--ink);
}

.sidebar nav a[aria-current="page"] {
  background: var(--raised);
  color: var(--ink);
  box-shadow: 0 0 0 1px var(--border), 0 1px 2px var(--shadow);
}

.sidebar nav a[aria-current="page"] .icon {
  color: var(--accent);
}

.sidebar nav .pin-link .truncate {
  min-width: 0;
}

.pie {
  --tone: var(--signal);
  border: 1.5px solid var(--tone);
  background: conic-gradient(var(--tone) 0 var(--pie), transparent var(--pie));
  background-clip: content-box;
  border-radius: 50%;
  flex: none;
  width: 14px;
  height: 14px;
  margin: 0 1px;
  padding: 1.5px;
}

.pie[data-tone="complete"] {
  --tone: var(--success);
}

.pie[data-tone="late"] {
  --tone: var(--danger);
}

.pin-toggle[aria-pressed="true"] {
  color: var(--ink);
}

.pin-toggle[aria-pressed="true"] .icon {
  color: var(--accent);
}

.sidebar-footer {
  border-top: 1px solid var(--border);
  margin-top: auto;
  padding-top: 10px;
}

.profile {
  width: 100%;
  min-width: 0;
  height: 36px;
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background-color .12s var(--ease);
  background: none;
  border: 0;
  border-radius: 6px;
  align-items: center;
  gap: 8px;
  padding: 0 8px 0 6px;
  display: flex;
}

.profile:hover, .profile[data-popup-open] {
  background: var(--hover);
}

.profile .icon {
  color: var(--faint);
  rotate: 180deg;
}

.account-menu {
  width: var(--anchor-width);
  min-width: 200px;
}

.avatar {
  background: linear-gradient(135deg, var(--signal), #e07a1f);
  width: 24px;
  height: 24px;
  color: var(--on-signal);
  border-radius: 50%;
  flex: 0 0 24px;
  place-items: center;
  font-size: 11px;
  font-weight: 600;
  display: inline-grid;
  position: relative;
  overflow: hidden;
}

.avatar-image {
  object-fit: cover;
  background: var(--raised);
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}

.truncate {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.content {
  min-width: 0;
}

.topbar {
  z-index: 20;
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--canvas) 80%, transparent);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  height: 48px;
  padding: 0 24px;
  display: flex;
  position: sticky;
  top: 0;
}

.crumbs {
  align-items: center;
  gap: 8px;
  min-width: 0;
  font-weight: 500;
  display: flex;
}

.topbar-end {
  flex-wrap: nowrap;
  gap: 14px;
}

.hints {
  align-items: center;
  gap: 2px;
  display: flex;
}

.hint {
  min-height: 28px;
  box-shadow: none;
  color: var(--muted);
  background: none;
  border-color: #0000;
  gap: 6px;
  padding: 0 8px;
  font-size: 12px;
  font-weight: 450;
}

.hint:hover {
  background: var(--hover);
  color: var(--ink);
}

.sound {
  border-color: var(--border);
  width: 28px;
  min-height: 28px;
  box-shadow: none;
  background: none;
  gap: 2px;
  padding: 0;
}

.sound span {
  background: var(--faint);
  width: 2px;
  height: 3px;
  transition: height .22s var(--ease), background-color .22s var(--ease);
  border-radius: 1px;
}

.sound[aria-pressed="true"] span {
  background: var(--accent);
}

.sound[aria-pressed="true"] span:first-child {
  height: 5px;
}

.sound[aria-pressed="true"] span:nth-child(2) {
  height: 11px;
}

.sound[aria-pressed="true"] span:nth-child(3) {
  height: 7px;
}

.sound[aria-pressed="true"] span:nth-child(4) {
  height: 4px;
}

.page {
  max-width: 1280px;
  min-height: calc(100dvh - 48px);
  margin: 0 auto;
  padding: 28px 32px 64px;
}

#content:focus {
  outline: none;
}

.heading {
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 24px;
  display: flex;
}

.heading-actions {
  flex: none;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  display: flex;
}

.secret-slot {
  display: contents;
}

.heading .row {
  gap: 10px;
}

.heading p:not(.eyebrow) {
  color: var(--muted);
  margin-top: 4px;
}

.stack {
  align-content: start;
  gap: 14px;
  display: grid;
}

.stack-lg {
  align-content: start;
  gap: 28px;
  display: grid;
}

.row {
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  display: flex;
}

.between {
  justify-content: space-between;
}

.grow {
  flex: 1;
  min-width: 0;
}

.panel {
  border: 1px solid var(--border);
  background: var(--raised);
  box-shadow: 0 1px 2px var(--shadow);
  border-radius: 10px;
  padding: 20px;
}

a.panel {
  transition: border-color .16s var(--ease),
    transform .16s var(--ease),
    box-shadow .16s var(--ease);
}

a.panel:hover {
  border-color: var(--strong);
  box-shadow: 0 8px 24px -12px var(--shadow);
  transform: translateY(-1px);
}

a.panel:hover h2 {
  color: var(--accent);
}

.tile {
  border: 1px solid var(--border);
  background: var(--panel);
  width: 28px;
  height: 28px;
  color: var(--accent);
  border-radius: 7px;
  place-items: center;
  font-weight: 600;
  display: inline-grid;
}

.grid {
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
  display: grid;
}

.split {
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: start;
  gap: 28px;
  display: grid;
}

.narrow {
  max-width: 680px;
}

.formgrid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: end;
  gap: 14px;
  display: grid;
}

.formgrid .full {
  grid-column: 1 / -1;
}

.alert {
  border: 1px solid color-mix(in srgb, var(--danger) 35%, var(--border));
  background: color-mix(in srgb, var(--danger) 8%, var(--raised));
  color: var(--danger);
  border-radius: 7px;
  padding: 10px 12px;
}

.alert:empty, .notice:empty {
  display: none;
}

[hidden] {
  display: none !important;
}

.notice-toast {
  z-index: 70;
  border: 1px solid var(--strong);
  background: var(--raised);
  border-radius: 10px;
  align-items: center;
  gap: 8px;
  max-width: min(480px, 100vw - 32px);
  padding: 10px 14px;
  font-size: 13px;
  display: flex;
  position: fixed;
  bottom: 20px;
  left: 50%;
  translate: -50%;
  box-shadow: 0 16px 40px -16px #000000a6;
}

.notice-toast[hidden] {
  display: none;
}

.notice-toast a {
  font-family: var(--mono);
  color: var(--signal);
  font-size: 12px;
}

.notice {
  border: 1px solid color-mix(in srgb, var(--signal) 30%, var(--border));
  background: var(--tint);
  color: var(--ink);
  overflow-wrap: anywhere;
  border-radius: 7px;
  padding: 12px 14px;
  display: block;
}

.notice a {
  color: var(--accent);
  text-underline-offset: 2px;
  text-decoration: underline;
}

.empty {
  border: 1px dashed var(--strong);
  text-align: center;
  border-radius: 12px;
  justify-items: center;
  gap: 6px;
  padding: 56px 24px;
  display: grid;
  position: relative;
  overflow: hidden;
}

.empty:before {
  content: "";
  background: radial-gradient(60% 100% at 50% 100%,
    var(--tint),
    transparent 70%);
  pointer-events: none;
  height: 60%;
  position: absolute;
  inset: auto 0 -1px;
}

.empty > * {
  position: relative;
}

.empty-orbit {
  border: 1px solid var(--border);
  width: 56px;
  height: 56px;
  box-shadow: 0 0 0 10px color-mix(in srgb, var(--border) 40%, transparent),
    0 0 0 20px color-mix(in srgb, var(--border) 20%, transparent);
  border-radius: 50%;
  place-items: center;
  margin-bottom: 10px;
  display: grid;
}

.empty-orbit .mark {
  width: 24px;
  height: 24px;
}

.toolbar {
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  display: flex;
}

.search {
  flex: 0 280px;
  min-width: 180px;
  display: block;
  position: relative;
}

.search > .icon {
  color: var(--faint);
  pointer-events: none;
  position: absolute;
  top: 50%;
  left: 10px;
  translate: 0 -50%;
}

.search input {
  border-color: var(--border);
  background: var(--panel);
  width: 100%;
  min-height: 30px;
  padding-left: 32px;
  padding-right: 30px;
}

.search-clear {
  width: 22px;
  min-height: 22px;
  box-shadow: none;
  color: var(--faint);
  background: none;
  border: 0;
  border-radius: 6px;
  padding: 0;
  position: absolute;
  top: 50%;
  right: 4px;
  translate: 0 -50%;
}

.search-clear:hover {
  background: var(--hover);
  color: var(--ink);
}

.search-clear[hidden] {
  display: none;
}

.search-clear .icon {
  width: 12px;
  height: 12px;
}

.search[aria-busy="true"] > .icon {
  color: var(--signal);
}

.live {
  color: var(--faint);
  align-items: center;
  gap: 6px;
  margin-left: auto;
  font-size: 12px;
  display: inline-flex;
}

.live-dot {
  background: var(--signal);
  border-radius: 50%;
  width: 7px;
  height: 7px;
}

.live[data-state="Live"] .live-dot {
  background: var(--success);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--success) 22%, transparent);
}

.live[data-state="Refresh failed"] .live-dot {
  background: var(--danger);
}

.toggle {
  border: 1px solid var(--border);
  background: var(--panel);
  border-radius: 8px;
  gap: 2px;
  padding: 2px;
  display: inline-flex;
}

.toggle button {
  width: 28px;
  min-height: 26px;
  color: var(--faint);
  box-shadow: none;
  background: none;
  border: 0;
  border-radius: 6px;
  padding: 0;
}

.toggle button:hover {
  color: var(--ink);
  background: none;
}

.toggle button[aria-pressed="true"] {
  background: var(--raised);
  color: var(--ink);
  box-shadow: 0 0 0 1px var(--border), 0 1px 2px var(--shadow);
}

.more-link {
  margin: 16px auto 0;
  display: block;
}

.chip {
  border: 1px solid var(--border);
  background: var(--panel);
  width: auto;
  max-width: 220px;
  min-height: 26px;
  color: var(--ink);
  box-shadow: none;
  border-radius: 999px;
  align-items: center;
  gap: 6px;
  padding: 0 8px 0 10px;
  font-size: 12.5px;
  font-weight: 450;
  display: inline-flex;
}

.chip:hover, .chip[data-popup-open] {
  border-color: var(--strong);
  background: var(--hover);
}

.chip [data-ssx-select-value], .ghost [data-ssx-select-value] {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.select-icon {
  color: var(--faint);
  display: inline-flex;
}

.select-icon .icon {
  width: 13px;
  height: 13px;
}

.ghost {
  width: 100%;
  min-height: 30px;
  box-shadow: none;
  text-align: left;
  background: none;
  border-color: #0000;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  padding: 0 8px;
  font-weight: 450;
  display: inline-flex;
}

.ghost:hover, .ghost[data-popup-open] {
  border-color: var(--border);
  background: var(--hover);
}

.ghost .select-icon {
  opacity: 0;
  transition: opacity .12s var(--ease);
}

.ghost:hover .select-icon, .ghost[data-popup-open] .select-icon {
  opacity: 1;
}

.glyph {
  border: 1.5px solid var(--muted);
  border-radius: 50%;
  flex: none;
  width: 13px;
  height: 13px;
  display: inline-block;
  position: relative;
}

.glyph-backlog {
  border-style: dashed;
  border-color: var(--faint);
}

.glyph-started {
  border-color: var(--signal);
  background: conic-gradient(var(--signal) 0 50%, transparent 50%);
  background-clip: content-box;
  padding: 1.5px;
}

.glyph-completed {
  border-color: var(--success);
  background: var(--success);
}

.glyph-completed:after {
  content: "";
  background: var(--canvas);
  position: absolute;
  inset: 0;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2.6 5.2 4.3 6.9 7.4 3.6' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2.6 5.2 4.3 6.9 7.4 3.6' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}

.glyph-canceled {
  border-color: var(--faint);
  background: var(--faint);
}

.glyph-canceled:after {
  content: "";
  background: var(--canvas);
  height: 1.5px;
  position: absolute;
  inset: 5px 2px auto;
  rotate: 45deg;
}

.picker {
  width: 22px;
  min-height: 22px;
  box-shadow: none;
  background: none;
  border: 0;
  border-radius: 5px;
  place-items: center;
  padding: 0;
  display: inline-grid;
}

.picker:hover, .picker[data-popup-open] {
  background: var(--hover);
}

.option-row {
  flex-wrap: nowrap;
  gap: 10px;
}

.priority {
  color: var(--muted);
  align-items: center;
  gap: 6px;
  font-size: 12px;
  display: inline-flex;
}

.bars {
  align-items: end;
  gap: 1.5px;
  height: 11px;
  display: inline-flex;
}

.bars i {
  background: var(--strong);
  border-radius: 1px;
  width: 3px;
}

.bars i:first-child {
  height: 4px;
}

.bars i:nth-child(2) {
  height: 7.5px;
}

.bars i:nth-child(3) {
  height: 11px;
}

.bars[data-level="1"] i {
  background: var(--signal);
}

.bars[data-level="2"] i, .bars[data-level="3"] i:nth-child(-n+2), .bars[data-level="4"] i:first-child {
  background: var(--muted);
}

.bars[data-level="0"] i {
  background: var(--faint);
  height: 2px;
}

.avatar-sm {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  font-size: 10px;
}

.avatar-empty {
  border: 1.5px dashed var(--strong);
  background: none;
}

.tag {
  border: 1px solid var(--border);
  max-width: 180px;
  height: 20px;
  color: var(--muted);
  text-overflow: ellipsis;
  white-space: nowrap;
  border-radius: 999px;
  align-items: center;
  padding: 0 8px;
  font-size: 11.5px;
  display: inline-flex;
  overflow: hidden;
}

.issue-list {
  border: 1px solid var(--border);
  background: var(--raised);
  border-radius: 10px;
  overflow: hidden;
}

.issue-group[hidden] {
  display: none;
}

.issue-group:not([hidden]) ~ .issue-group:not([hidden]) {
  border-top: 1px solid var(--border);
}

.issue-group-head {
  background: var(--panel);
  border-bottom: 1px solid var(--border);
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 14px;
  display: flex;
}

.issue-group-head h3 {
  font-size: 12.5px;
  font-weight: 600;
}

.issue-group-head .count {
  background: none;
  border: 0;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
}

.issue-row {
  border-bottom: 1px solid var(--border);
  min-height: 40px;
  transition: background-color .12s var(--ease);
  grid-template-columns: 16px 64px 22px minmax(0, 1fr) auto 20px;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  display: grid;
}

.issue-row:last-child {
  border-bottom: 0;
}

.issue-row:hover {
  background: var(--panel);
}

.issue-row:not(:has(.tag)) {
  grid-template-columns: 16px 64px 22px minmax(0, 1fr) 20px;
}

.issue-key {
  font-family: var(--mono);
  color: var(--faint);
  white-space: nowrap;
  font-size: 11.5px;
}

.issue-title {
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 450;
  overflow: hidden;
}

.issue-title:after {
  content: "";
  position: absolute;
  inset: 0;
}

.issue-row, .card {
  position: relative;
}

.issue-row .picker, .card .picker, .issue-row .avatar {
  z-index: 1;
  position: relative;
}

.issue-row[data-kind="completed"] .issue-title, .issue-row[data-kind="canceled"] .issue-title {
  color: var(--muted);
}

.board {
  grid-auto-columns: minmax(270px, 1fr);
  grid-auto-flow: column;
  align-items: start;
  gap: 10px;
  padding-bottom: 16px;
  display: grid;
  overflow-x: auto;
}

.column {
  border: 1px solid var(--border);
  background: var(--panel);
  border-radius: 12px;
  min-height: 420px;
  padding: 6px;
}

.column[data-over] {
  border-color: var(--signal);
  background: color-mix(in srgb, var(--signal) 6%, var(--panel));
}

.card[data-dragging] {
  opacity: .4;
}

.column > header {
  align-items: center;
  gap: 8px;
  padding: 6px 8px 10px;
  display: flex;
}

.column > header h3 {
  font-size: 12.5px;
  font-weight: 600;
}

.column > header .count {
  background: none;
  border: 0;
  height: 18px;
}

.card {
  border: 1px solid var(--border);
  background: var(--raised);
  box-shadow: 0 1px 2px var(--shadow);
  cursor: grab;
  transition: border-color .14s var(--ease), box-shadow .14s var(--ease);
  border-radius: 9px;
  gap: 8px;
  padding: 10px 12px;
  display: grid;
}

.card + .card {
  margin-top: 6px;
}

.card:hover {
  border-color: var(--strong);
  box-shadow: 0 6px 18px -10px var(--shadow);
}

.card .issue-title {
  white-space: normal;
  line-height: 1.4;
}

.card-head, .card footer {
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  display: flex;
}

.card footer {
  justify-content: flex-start;
  gap: 4px;
}

.tablewrap {
  border: 1px solid var(--border);
  background: var(--raised);
  border-radius: 10px;
  width: 100%;
  overflow: auto;
}

table {
  border-collapse: collapse;
  text-align: left;
  width: 100%;
}

th {
  background: var(--panel);
  font-family: var(--mono);
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--faint);
  font-size: 11px;
  font-weight: 450;
}

th, td {
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
  padding: 10px 14px;
}

tr:last-child td {
  border-bottom: 0;
}

tbody tr {
  transition: background-color .12s var(--ease);
}

tbody tr:hover {
  background: var(--panel);
}

td .row {
  flex-wrap: nowrap;
  gap: 8px;
}

.secret {
  border: 1px solid color-mix(in srgb, var(--signal) 45%, var(--border));
  background: var(--tint);
  font-family: var(--mono);
  overflow-wrap: anywhere;
  -webkit-user-select: all;
  user-select: all;
  border-radius: 8px;
  padding: 14px;
  font-size: 12.5px;
}

.comment {
  border-bottom: 1px solid var(--border);
  gap: 6px;
  padding: 16px 0;
  display: grid;
}

.prose {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.7;
}

.activity {
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  position: relative;
}

.activity:before {
  content: "";
  background: var(--border);
  width: 1px;
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 3px;
}

.activity li {
  gap: 2px;
  padding-left: 20px;
  display: grid;
  position: relative;
}

.activity li:before {
  content: "";
  border: 1.5px solid var(--faint);
  background: var(--canvas);
  border-radius: 50%;
  width: 7px;
  height: 7px;
  position: absolute;
  top: 6px;
  left: 0;
}

.activity li:first-child:before {
  border-color: var(--signal);
  background: var(--signal);
  box-shadow: 0 0 0 3px #ffb22433;
}

progress {
  background: var(--hover);
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  accent-color: var(--signal);
  border: 0;
  border-radius: 3px;
  overflow: hidden;
}

progress::-webkit-progress-bar {
  background: var(--hover);
}

progress::-webkit-progress-value {
  background: linear-gradient(90deg, #e07a1f, var(--signal));
  border-radius: 3px;
}

progress::-moz-progress-bar {
  background: linear-gradient(90deg, #e07a1f, var(--signal));
  border-radius: 3px;
}

.plan {
  letter-spacing: -.04em;
  text-transform: capitalize;
  font-size: 40px;
  font-weight: 600;
  line-height: 1.1;
}

.billing {
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  align-items: start;
  gap: 24px;
  display: grid;
}

.billing > section {
  align-content: start;
  gap: 10px;
}

.billing .panel {
  gap: 16px;
}

.plan-head {
  flex-wrap: nowrap;
  height: 32px;
}

.plan-name {
  letter-spacing: -.02em;
  font-size: 18px;
  font-weight: 600;
  line-height: 28px;
}

.billing .price {
  font-size: 22px;
  line-height: 28px;
}

.billing .price span {
  font-size: 13px;
}

.meter {
  border-top: 1px solid var(--border);
  gap: 8px;
  padding-top: 14px;
  font-size: 13px;
  display: grid;
}

.meter .muted {
  font-size: 12px;
}

.specs {
  border-top: 1px solid var(--border);
  gap: 8px;
  margin: 0;
  padding-top: 12px;
  font-size: 13px;
  display: grid;
}

.specs div {
  justify-content: space-between;
  gap: 12px;
  display: flex;
}

.specs dt {
  color: var(--muted);
}

.specs dd {
  font-family: var(--mono);
  margin: 0;
  font-size: 12px;
}

.price {
  letter-spacing: -.04em;
  font-size: 40px;
  font-weight: 600;
  line-height: 1.1;
}

.price span {
  letter-spacing: 0;
  font-size: 15px;
  font-weight: 450;
}

.public {
  isolation: isolate;
  place-items: center;
  min-height: 100dvh;
  padding: 32px;
  display: grid;
  position: relative;
  overflow: hidden;
}

.public:before {
  content: "";
  z-index: -1;
  aspect-ratio: 1;
  background: radial-gradient(circle at 50% 0%,
    color-mix(in srgb, var(--signal) 8%, var(--canvas)),
    var(--canvas) 30%);
  border-radius: 50%;
  width: 180vw;
  position: absolute;
  top: 80%;
  left: 50%;
  translate: -50%;
  box-shadow: 0 -1px #ffcb66b3, 0 -8px 40px -4px #ffb22459, 0 -60px 160px -20px #ffb22426;
}

.public > .panel {
  width: 100%;
}

.public .brand {
  padding: 0;
}

.login {
  grid-template-columns: minmax(0, 1fr) 380px;
  align-items: center;
  gap: 88px;
  width: 100%;
  max-width: 940px;
  display: grid;
}

.login-copy h1 {
  letter-spacing: -.045em;
  margin: 36px 0 18px;
  font-size: 56px;
  line-height: 1.02;
}

.login-copy p {
  max-width: 340px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.login .panel {
  background: color-mix(in srgb, var(--raised) 86%, transparent);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  box-shadow: 0 24px 64px -24px var(--shadow);
  padding: 28px;
}

.login .panel h2 {
  margin-top: 6px;
  font-size: 18px;
}

.login .panel .button, .login .panel > button, .login .panel .primary {
  min-height: 36px;
}

.divider {
  color: var(--faint);
  align-items: center;
  gap: 12px;
  font-size: 12px;
  display: flex;
}

.divider:before, .divider:after {
  content: "";
  background: var(--border);
  flex: 1;
  height: 1px;
}

.dialog {
  border: 1px solid var(--strong);
  background: var(--raised);
  width: min(540px, 100vw - 32px);
  max-height: calc(100dvh - 32px);
  color: var(--ink);
  border-radius: 14px;
  padding: 24px;
  overflow: auto;
  box-shadow: 0 32px 80px -24px #000000a6, 0 0 0 1px #0000000d;
}

.dialog h2 {
  font-size: 16px;
}

.dialog-backdrop {
  z-index: 50;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  background: #050506b3;
  position: fixed;
  inset: 0;
}

.dialog-viewport {
  z-index: 51;
  place-items: start center;
  padding: 12vh 16px 16px;
  display: grid;
  position: fixed;
  inset: 0;
  overflow: auto;
}

.dialog, .compose {
  max-height: calc(88dvh - 16px);
  margin-inline: auto;
  position: fixed;
  inset: 12vh 0 auto;
}

.select {
  text-align: left;
  justify-content: space-between;
  width: 100%;
  min-width: 0;
  min-height: 34px;
  padding: 0 10px;
  font-weight: 400;
}

.select [data-ssx-select-value] {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.select-positioner {
  z-index: 60;
}

.select-popup {
  min-width: var(--anchor-width);
  max-width: calc(100vw - 32px);
  max-height: min(320px, var(--available-height));
  border: 1px solid var(--strong);
  background: var(--raised);
  color: var(--ink);
  box-shadow: 0 16px 40px -12px var(--shadow), 0 2px 6px var(--shadow);
  border-radius: 10px;
  padding: 4px;
  overflow: auto;
}

.select-option {
  cursor: pointer;
  border-radius: 6px;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  min-height: 30px;
  padding: 0 10px;
  font-size: 13px;
  display: flex;
}

.select-option[data-highlighted] {
  background: var(--hover);
}

.select-option[data-selected] {
  font-weight: 500;
}

.select-check {
  color: var(--accent);
}

details > summary {
  cursor: pointer;
  font-weight: 600;
}

details > summary::marker {
  color: var(--faint);
}

details[open] > summary {
  margin-bottom: 18px;
}

.primary .icon, .quiet .icon {
  width: 14px;
  height: 14px;
}

.destructive {
  background: var(--danger);
  color: var(--on-danger);
  border-color: #0000;
  font-weight: 600;
}

.destructive:hover {
  background: color-mix(in srgb, var(--danger) 88%, #000);
}

.empty-action {
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
  display: flex;
}

.compose {
  border: 1px solid var(--strong);
  background: var(--raised);
  width: min(640px, 100vw - 32px);
  color: var(--ink);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 32px 80px -24px #000000a6, 0 0 0 1px #0000000d;
}

.compose-form {
  gap: 10px;
  padding: 14px 16px 0;
  display: grid;
}

.compose-head {
  align-items: center;
  gap: 10px;
  display: flex;
}

.compose-label {
  font-family: var(--mono);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--faint);
  margin-right: auto;
  font-size: 11px;
  font-weight: 450;
}

.compose-title, .compose-body {
  width: 100%;
  min-height: 0;
  box-shadow: none;
  background: none;
  border: 0;
  border-radius: 0;
  padding: 0;
}

.compose-title {
  letter-spacing: -.02em;
  font-size: 19px;
  font-weight: 600;
}

.compose-body {
  resize: none;
  field-sizing: content;
  min-height: 72px;
  max-height: 40vh;
  font-size: 13.5px;
  line-height: 1.6;
}

.compose-title:focus, .compose-body:focus {
  box-shadow: none;
  border: 0;
}

.scope-grid {
  border: 0;
  border-top: 1px solid var(--border);
  gap: 2px;
  margin: 0;
  padding: 6px 0 0;
  display: grid;
}

.scope-row {
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 30px;
  display: flex;
}

.scope-name {
  color: var(--muted);
  font-size: 13px;
}

.scope-actions {
  gap: 4px;
  display: flex;
}

.scope-toggle {
  border: 1px solid var(--border);
  width: 72px;
  height: 24px;
  color: var(--muted);
  font: inherit;
  cursor: pointer;
  transition: background-color .12s var(--ease),
    color .12s var(--ease),
    border-color .12s var(--ease);
  background: none;
  border-radius: 6px;
  padding: 0;
  font-size: 12px;
}

.scope-toggle:hover {
  background: var(--hover);
  color: var(--ink);
}

.scope-toggle[aria-pressed="true"] {
  border-color: color-mix(in srgb, var(--signal) 45%, var(--border));
  background: var(--tint);
  color: var(--ink);
}

.compose-chips {
  flex-wrap: wrap;
  gap: 6px;
  display: flex;
}

.compose .alert {
  margin: 0;
}

.compose-foot {
  border-top: 1px solid var(--border);
  background: var(--panel);
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  margin: 4px -16px 0;
  padding: 10px 16px;
  display: flex;
}

.compose-hint {
  gap: 3px;
  display: inline-flex;
}

.switch {
  color: var(--muted);
  cursor: pointer;
  align-items: center;
  gap: 8px;
  margin-right: auto;
  font-size: 12.5px;
  font-weight: 450;
  display: inline-flex;
}

.switch input {
  opacity: 0;
  pointer-events: none;
  position: absolute;
}

.switch-track {
  background: var(--strong);
  width: 28px;
  height: 16px;
  transition: background-color .16s var(--ease);
  border-radius: 8px;
  position: relative;
}

.switch-track:after {
  content: "";
  background: var(--ink);
  width: 12px;
  height: 12px;
  transition: translate .16s var(--ease);
  border-radius: 50%;
  position: absolute;
  top: 2px;
  left: 2px;
}

.switch input:checked + .switch-track {
  background: var(--signal);
}

.switch input:checked + .switch-track:after {
  background: var(--on-signal);
  translate: 12px;
}

.switch input:focus-visible + .switch-track {
  outline: 2px solid var(--signal);
  outline-offset: 2px;
}

.sheet-backdrop {
  z-index: 50;
  background: #05050680;
  position: fixed;
  inset: 0;
}

.sheet-viewport {
  z-index: 51;
  pointer-events: none;
  position: fixed;
  inset: 0;
}

.sheet {
  border-left: 1px solid var(--strong);
  background: var(--raised);
  width: min(460px, 100vw);
  color: var(--ink);
  pointer-events: auto;
  transform: translateX(var(--drawer-swipe-movement-x, 0px));
  flex-direction: column;
  display: flex;
  position: absolute;
  inset: 0 0 0 auto;
  box-shadow: -24px 0 64px -24px #000000a6;
}

.sheet-head {
  border-bottom: 1px solid var(--border);
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 12px 0 18px;
  display: flex;
}

.sheet-title {
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  min-width: 0;
  font-size: 14px;
  overflow: hidden;
}

.sheet-body {
  align-content: start;
  gap: 20px;
  padding: 18px;
  display: grid;
  overflow-y: auto;
}

.menu-positioner {
  z-index: 60;
}

.menu {
  border: 1px solid var(--strong);
  background: var(--raised);
  min-width: 180px;
  color: var(--ink);
  box-shadow: 0 16px 40px -12px var(--shadow), 0 2px 6px var(--shadow);
  border-radius: 10px;
  padding: 4px;
}

.menu-item {
  cursor: pointer;
  border-radius: 6px;
  align-items: center;
  gap: 10px;
  min-height: 30px;
  padding: 0 10px;
  font-size: 13px;
  display: flex;
}

.menu-item .icon {
  color: var(--faint);
}

.menu-item[data-highlighted] {
  background: var(--hover);
}

.menu-item.danger, .menu-item.danger .icon {
  color: var(--danger);
}

.menu-separator {
  background: var(--border);
  height: 1px;
  margin: 4px 0;
}

.row-menu {
  opacity: .6;
}

tr:hover .row-menu, .row-menu[data-popup-open] {
  opacity: 1;
}

.row-menu:focus-visible {
  opacity: 1;
}

.label-cell .inline {
  flex: 0 280px;
  min-width: 0;
}

.color-trigger {
  width: 28px;
  min-height: 28px;
  box-shadow: none;
  background: none;
  border-color: #0000;
  padding: 0;
}

.color-trigger .swatch {
  width: 16px;
  height: 16px;
}

.color-popup {
  min-width: 168px;
}

.row-delete {
  opacity: .6;
}

tr:hover .row-delete {
  opacity: 1;
}

.row-delete:focus-visible {
  opacity: 1;
}

.row-delete:hover {
  color: var(--danger);
  background: color-mix(in srgb, var(--danger) 12%, transparent);
}

.tooltip {
  border: 1px solid var(--strong);
  background: var(--raised);
  max-width: 240px;
  color: var(--ink);
  box-shadow: 0 8px 24px -8px var(--shadow);
  border-radius: 7px;
  padding: 6px 9px;
  font-size: 12px;
  line-height: 1.4;
}

.confirm {
  width: min(420px, 100vw - 32px);
}

.confirm-actions {
  justify-content: flex-end;
  gap: 8px;
}

.status {
  flex: none;
  justify-content: center;
  align-items: center;
  min-width: 16px;
  height: 16px;
  display: inline-flex;
}

.status-spin {
  border: 1.5px solid var(--strong);
  border-top-color: var(--signal);
  border-radius: 50%;
  width: 12px;
  height: 12px;
}

.status-ok {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}

.status-error {
  min-height: 20px;
  box-shadow: none;
  color: var(--danger);
  background: none;
  border: 0;
  padding: 0 6px;
  font-size: 11.5px;
}

.inline {
  align-items: start;
  display: flex;
  position: relative;
}

.inline-input {
  width: 100%;
  min-height: 0;
  box-shadow: none;
  background: none;
  border: 1px solid #0000;
  flex: 1;
  margin: 0 -8px;
  padding: 4px 8px;
}

.inline-input:hover {
  border-color: var(--border);
}

.inline-input:focus {
  border-color: var(--signal);
  background: var(--canvas);
}

.inline .status {
  position: absolute;
  top: 8px;
  right: 0;
}

.inline.title .inline-input {
  letter-spacing: -.03em;
  padding-right: 32px;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
}

.inline.title .status {
  top: 12px;
}

.inline.body .inline-input {
  resize: none;
  field-sizing: content;
  min-height: 96px;
  padding-right: 32px;
  line-height: 1.7;
}

.props {
  border: 1px solid var(--border);
  background: var(--panel);
  border-radius: 10px;
  gap: 2px;
  padding: 12px;
  display: grid;
}

.prop {
  grid-template-columns: 84px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-height: 32px;
  display: grid;
}

.prop-label {
  color: var(--muted);
  font-size: 12px;
}

.prop-value {
  align-items: center;
  gap: 4px;
  min-width: 0;
  display: flex;
}

.prop-value > :first-child {
  flex: 1;
  min-width: 0;
}

.crumbs-bar {
  color: var(--muted);
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  display: flex;
}

.crumbs-bar a {
  align-items: center;
  gap: 4px;
  display: inline-flex;
}

.crumbs-bar a:hover {
  color: var(--ink);
}

.issue-main {
  align-content: start;
  gap: 14px;
  min-width: 0;
  display: grid;
}

.issue-page .split, .project-page .split {
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 36px;
}

.issue-page .props, .project-page .props {
  position: sticky;
  top: 72px;
}

.section-head {
  align-items: center;
  gap: 8px;
  margin: 18px 0 12px;
  display: flex;
}

.section-head h2 {
  font-size: 14px;
}

.section-head .heading-actions {
  margin-left: auto;
}

.section-label {
  font-family: var(--mono);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--faint);
  font-size: 11px;
  font-weight: 450;
}

.timeline {
  border-top: 1px solid var(--border);
  gap: 14px;
  margin-top: 18px;
  padding-top: 18px;
  display: grid;
}

.timeline h2 {
  font-size: 14px;
}

.timeline ol {
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  position: relative;
}

.timeline ol:before {
  content: "";
  background: var(--border);
  width: 1px;
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 9px;
}

.timeline-event {
  color: var(--muted);
  grid-template-columns: 20px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  display: grid;
  position: relative;
}

.timeline-event strong {
  color: var(--ink);
  font-weight: 500;
}

.timeline-dot {
  border: 1.5px solid var(--faint);
  background: var(--canvas);
  border-radius: 50%;
  justify-self: center;
  width: 7px;
  height: 7px;
}

.timeline time {
  color: var(--faint);
  font-size: 11.5px;
}

.timeline-comment {
  border: 1px solid var(--border);
  background: var(--raised);
  border-radius: 10px;
  gap: 6px;
  padding: 12px 14px;
  display: grid;
  position: relative;
}

.timeline-comment header {
  align-items: center;
  gap: 8px;
  display: flex;
}

.timeline-comment header time {
  margin-left: auto;
}

.comment-box {
  border: 1px solid var(--border);
  background: var(--raised);
  border-radius: 10px;
  gap: 8px;
  padding: 10px;
  display: grid;
}

.comment-box textarea {
  min-height: 64px;
  box-shadow: none;
  resize: none;
  field-sizing: content;
  background: none;
  border: 0;
  padding: 4px;
}

.comment-box textarea:focus {
  box-shadow: none;
}

.comment-box footer {
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  display: flex;
}

.prop-static {
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 0 9px;
  display: inline-flex;
}

.prop-labels {
  align-items: start;
}

.prop-labels .prop-label {
  padding-top: 7px;
}

.label-picker {
  align-items: flex-start;
}

.label-trigger {
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 4px;
  height: auto;
  min-height: 30px;
  padding: 4px 8px;
}

.label-chip {
  border: 1px solid var(--border);
  border-radius: 999px;
  align-items: center;
  gap: 6px;
  height: 22px;
  padding: 0 8px;
  font-size: 12px;
  display: inline-flex;
}

.label-toggles, .tags {
  flex-wrap: wrap;
  gap: 4px;
  padding: 4px 0;
  display: flex;
}

.label-toggles > :first-child {
  flex: none;
}

.label-toggle {
  border-color: var(--border);
  min-height: 24px;
  box-shadow: none;
  color: var(--muted);
  background: none;
  border-radius: 999px;
  padding: 0 8px;
  font-size: 12px;
  font-weight: 450;
}

.label-toggle[aria-pressed="true"] {
  border-color: var(--strong);
  background: var(--raised);
  color: var(--ink);
}

.label-dot {
  border-radius: 50%;
  flex: none;
  width: 8px;
  height: 8px;
  display: inline-block;
}

.date-input {
  min-height: 30px;
  color-scheme: inherit;
  margin: 0;
}

.progress-block {
  border-bottom: 1px solid var(--border);
  gap: 6px;
  margin-bottom: 4px;
  padding-bottom: 10px;
  font-size: 12px;
  display: grid;
}

.project-card {
  align-content: start;
  gap: 10px;
  display: grid;
}

.project-card footer {
  border-top: 1px solid var(--border);
  padding-top: 10px;
  font-size: 12px;
}

.clamp {
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  min-height: 3em;
  display: -webkit-box;
  overflow: hidden;
}

.project-progress {
  align-items: center;
  gap: 10px;
  display: flex;
}

.picker-popup {
  gap: 4px;
  width: 360px;
  display: grid;
}

.picker-search {
  min-height: 32px;
  margin-bottom: 4px;
}

.picker-results {
  max-height: 280px;
  overflow-y: auto;
}

.picker-results .menu-item {
  width: 100%;
  box-shadow: none;
  background: none;
  border: 0;
  justify-content: flex-start;
  font-weight: 400;
}

.picker-results .menu-item:hover {
  background: var(--hover);
}

.picker-empty {
  padding: 10px;
  font-size: 12.5px;
}

.kbd-key {
  border: 1px solid color-mix(in srgb, var(--signal) 35%, var(--border));
  background: var(--tint);
  height: 20px;
  color: var(--accent);
  font-family: var(--mono);
  border-radius: 5px;
  align-items: center;
  padding: 0 6px;
  font-size: 11.5px;
  font-weight: 500;
  display: inline-flex;
}

.glyph-row {
  gap: 4px;
  display: inline-flex;
}

tr.clickable {
  cursor: pointer;
}

.link-button {
  min-height: 0;
  box-shadow: none;
  color: var(--ink);
  text-align: left;
  background: none;
  border: 0;
  padding: 0;
  font-weight: 500;
}

.link-button:hover {
  color: var(--accent);
  background: none;
}

.link-button.mono {
  font-weight: 400;
}

.narrow-col {
  width: 120px;
}

.role-col {
  width: 180px;
}

.action-col {
  text-align: right;
  width: 48px;
}

.person {
  flex-wrap: nowrap;
  gap: 10px;
}

.role-cell, .role-cell > :first-child, .label-cell .inline {
  flex: 1;
}

.compose-field {
  gap: 6px;
  display: grid;
}

.compose-field small {
  color: var(--faint);
}

.general .prop {
  grid-template-columns: 84px minmax(0, 1fr);
}

.general .slug-field {
  background: none;
  border-color: #0000;
  gap: 0;
  margin: 0 -8px;
  padding-left: 8px;
}

.general .slug-field:hover {
  border-color: var(--border);
}

.general .slug-field:focus-within {
  border-color: var(--signal);
}

.general .slug-field .inline-input {
  border: 0;
  margin: 0;
  padding: 4px 8px 4px 0;
}

.danger-zone {
  border-color: color-mix(in srgb, var(--danger) 30%, var(--border));
}

.danger-zone h2 {
  font-size: 15px;
}

.field-note {
  font-size: 12px;
}

.field-error {
  color: var(--danger);
  font-size: 12px;
}

.slug-field {
  border: 1px solid var(--strong);
  background: var(--canvas);
  border-radius: 7px;
  align-items: center;
  gap: 2px;
  padding-left: 10px;
  display: flex;
}

.slug-field input {
  background: none;
  border: 0;
  padding-left: 0;
}

.slug-field:focus-within {
  border-color: var(--signal);
}

.swatches {
  border: 0;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  display: flex;
}

.swatches legend {
  width: 100%;
  margin-bottom: 8px;
  padding: 0;
}

.swatches .swatch-option {
  min-height: 0;
  box-shadow: none;
  color: var(--ink);
  cursor: pointer;
  background: none;
  border: 0;
  border-radius: 50%;
  flex: none;
  align-items: center;
  gap: 10px;
  padding: 0;
  font-size: 13px;
  font-weight: 400;
  display: inline-flex;
  position: relative;
}

.swatch {
  background: var(--swatch);
  width: 24px;
  height: 24px;
  transition: box-shadow .12s var(--ease), scale .12s var(--ease);
  border-radius: 50%;
  flex: none;
  display: block;
}

.swatches .swatch-option:hover {
  background: none;
}

.swatch-option:hover .swatch {
  scale: 1.08;
}

.swatch-option[aria-pressed="true"] .swatch, .swatch-option[data-custom="true"] .swatch {
  box-shadow: 0 0 0 2px var(--raised), 0 0 0 4px var(--swatch);
}

.swatches .swatch-option:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 4px;
}

.swatch-option:has(input:focus-visible) {
  outline: 2px solid var(--signal);
  outline-offset: 4px;
}

.swatch-option[data-custom="false"] .swatch-custom {
  background: conic-gradient(#ff8a7e, #ffb224, #7ee2a8, #8da4ef, #c79bf2, #f28cbf, #ff8a7e);
}

.swatch-option input[type="color"] {
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 0;
  position: absolute;
  inset: 0;
}

.swatches[data-vertical="true"] {
  gap: 2px;
  margin: 0;
  padding: 4px;
  display: grid;
}

.swatches[data-vertical="true"] .swatch-option {
  border-radius: 6px;
  justify-content: flex-start;
  width: 100%;
  height: 30px;
  padding: 0 8px;
}

.swatches[data-vertical="true"] .swatch-option:hover {
  background: var(--hover);
}

.swatches[data-vertical="true"] .swatch {
  width: 16px;
  height: 16px;
}

.swatches[data-vertical="true"] .swatch-option[aria-pressed="true"] .swatch, .swatches[data-vertical="true"] .swatch-option[data-custom="true"] .swatch {
  box-shadow: 0 0 0 2px var(--raised), 0 0 0 3.5px var(--swatch);
}

.swatch-hex {
  align-self: center;
  margin-left: 4px;
  font-size: 12px;
}

.event-groups {
  border: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  display: grid;
}

.event-groups legend {
  margin-bottom: 8px;
  padding: 0;
}

.event-group {
  gap: 4px;
  display: grid;
}

.event-group-name {
  font-family: var(--mono);
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--faint);
  font-size: 11px;
}

.deliveries {
  border: 1px solid var(--border);
  border-radius: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
}

.delivery {
  border-bottom: 1px solid var(--border);
  grid-template-columns: 10px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px;
  padding: 6px 6px 6px 12px;
  font-size: 12.5px;
  display: grid;
}

.delivery:last-child {
  border-bottom: 0;
}

.delivery-dot {
  background: var(--faint);
  border-radius: 50%;
  width: 7px;
  height: 7px;
}

.delivery[data-status="delivered"] .delivery-dot {
  background: var(--success);
}

.delivery[data-status="failed"] .delivery-dot {
  background: var(--danger);
}

.delivery[data-status="pending"] .delivery-dot {
  background: var(--signal);
}

.badge[data-status="active"], .badge[data-status="completed"] {
  border-color: color-mix(in srgb, var(--success) 35%, var(--border));
  color: var(--success);
}

.badge[data-status="rotating"], .badge[data-status="paused"] {
  border-color: color-mix(in srgb, var(--signal) 40%, var(--border));
  color: var(--accent);
}

.badge[data-status="revoked"], .badge[data-status="expired"], .badge[data-status="canceled"], tr[data-revoked="true"] td {
  color: var(--faint);
}

.settings {
  gap: 28px;
  display: grid;
}

.props .inline {
  flex: 1;
}

.props .inline-input {
  margin: 0;
}

.props .inline .status {
  top: 7px;
  right: 6px;
}

.workspace-card {
  gap: 10px;
  display: grid;
}

.workspace-card h2, .project-card h2 {
  font-size: 15px;
}

.setup {
  justify-items: center;
  gap: 32px;
  width: 100%;
  max-width: 560px;
  display: grid;
}

.setup-head {
  justify-items: center;
  gap: 18px;
  display: grid;
}

.setup-head .mark {
  width: 32px;
  height: 32px;
}

.steps {
  color: var(--faint);
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  font-size: 12.5px;
  list-style: none;
  display: flex;
}

.step {
  align-items: center;
  gap: 6px;
  display: flex;
}

.step + .step:before {
  content: "";
  background: var(--strong);
  width: 18px;
  height: 1px;
  margin-right: 4px;
}

.step-dot {
  border: 1px solid var(--strong);
  width: 18px;
  height: 18px;
  font-family: var(--mono);
  border-radius: 50%;
  place-items: center;
  font-size: 10px;
  display: inline-grid;
}

.step[data-state="now"] {
  color: var(--ink);
}

.step[data-state="now"] .step-dot {
  border-color: var(--signal);
  color: var(--accent);
}

.step[data-state="done"] .step-dot {
  background: var(--success);
  color: var(--canvas);
  border-color: #0000;
}

.setup-card {
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--raised) 88%, transparent);
  width: 100%;
  box-shadow: 0 24px 64px -24px var(--shadow);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-radius: 14px;
  gap: 14px;
  padding: 28px;
  display: grid;
}

.setup-card h1 {
  font-size: 22px;
}

.setup-grid {
  grid-template-columns: minmax(0, 1fr) 120px;
  gap: 12px;
  display: grid;
}

.setup-foot {
  justify-content: flex-end;
  gap: 8px;
  padding-top: 6px;
  display: flex;
}

.setup .compose-title {
  border: 1px solid var(--strong);
  background: var(--canvas);
  border-radius: 7px;
  min-height: 34px;
  padding: 6px 10px;
  font-size: 15px;
}

.setup .compose-body {
  border: 1px solid var(--strong);
  background: var(--canvas);
  border-radius: 7px;
  min-height: 80px;
  padding: 8px 10px;
}

@media (max-width: 1000px) {
  .billing {
    grid-template-columns: 1fr;
  }

  .app {
    grid-template-columns: 208px minmax(0, 1fr);
  }

  .split {
    grid-template-columns: 1fr;
  }

  .login {
    gap: 48px;
  }

  .hints {
    display: none;
  }
}

@media (max-width: 720px) {
  .app {
    grid-template-columns: 1fr;
  }

  .sidebar {
    border-right: 0;
    border-bottom: 1px solid var(--border);
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "brand foot"
                         "switch switch"
                         "nav nav";
    gap: 10px;
    height: auto;
    padding: 10px 12px 0;
    display: grid;
    position: static;
    overflow: visible;
  }

  .sidebar > .brand {
    grid-area: brand;
    padding: 4px;
  }

  .switcher {
    grid-area: switch;
  }

  .sidebar nav {
    scrollbar-width: none;
    grid-area: nav;
    gap: 2px;
    margin: 0 -12px;
    padding: 0 12px 8px;
    display: flex;
    overflow-x: auto;
  }

  .sidebar nav::-webkit-scrollbar {
    display: none;
  }

  .sidebar nav .eyebrow {
    display: none;
  }

  .sidebar nav a {
    flex: none;
    height: 30px;
    padding: 0 10px;
  }

  .sidebar-footer {
    border: 0;
    grid-area: foot;
    margin: 0;
    padding: 0;
  }

  .profile {
    width: auto;
    padding: 0 4px;
  }

  .profile .truncate, .profile .icon {
    display: none;
  }

  .topbar {
    padding: 0 16px;
  }

  .page {
    padding: 20px 16px 48px;
  }

  .heading {
    flex-direction: column;
    align-items: start;
    gap: 12px;
  }

  .login {
    grid-template-columns: 1fr;
    gap: 28px;
    max-width: 400px;
  }

  .login-copy h1 {
    margin: 24px 0 0;
    font-size: 38px;
  }

  .login-copy p {
    display: none;
  }

  .public {
    padding: 20px;
  }

  .public:before {
    top: 94%;
  }

  .formgrid {
    grid-template-columns: 1fr;
  }

  .heading {
    flex-direction: row;
    align-items: center;
  }

  .heading-copy p {
    display: none;
  }

  .issue-page .split, .project-page .split {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .issue-page .issue-main, .project-page .issue-main {
    display: contents;
  }

  .issue-page .props, .project-page .props {
    margin: 4px 0;
    position: static;
  }

  .timeline, .project-issues {
    order: 1;
  }

  :is(.issue-row, .issue-row:not(:has(.tag))) {
    grid-template-columns: 16px 56px 22px minmax(0, 1fr) 20px;
    padding: 0 10px;
  }

  .issue-row .tag {
    display: none;
  }

  .event-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sheet {
    border-left: 0;
    border-top: 1px solid var(--strong);
    width: 100%;
    max-height: 86dvh;
    transform: translateY(var(--drawer-swipe-movement-y, 0px));
    border-radius: 16px 16px 0 0;
    inset: auto 0 0;
  }

  .setup-grid {
    grid-template-columns: 1fr;
  }

  .narrow-col, .role-col {
    width: auto;
  }

  .toolbar > form, .toolbar > form > label.grow {
    flex-basis: 100%;
  }

  .toolbar > form > label:not(.grow) {
    flex: 1;
    min-width: 0;
  }

  .toolbar input {
    max-width: none;
  }

  .list .issue {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .list .issue footer {
    grid-column: 2;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .status-spin {
    animation: .7s linear infinite spin;
  }

  .status-ok {
    animation: settle 1.2s var(--ease) both;
  }

  .sheet[data-open] {
    animation: slide .22s var(--ease);
  }

  @keyframes spin {
    to {
      rotate: 1turn;
    }
  }

  @keyframes settle {
    from {
      opacity: 0;
      scale: .6;
    }

    20% {
      opacity: 1;
      scale: 1;
    }

    75% {
      opacity: 1;
    }

    to {
      opacity: 0;
    }
  }

  @keyframes slide {
    from {
      opacity: 0;
      transform: translateX(24px);
    }
  }

  .mark-cursor {
    animation: 1.1s step-end 4 blink;
  }

  .brand:hover .mark-cursor {
    animation-iteration-count: infinite;
  }

  @keyframes blink {
    50% {
      opacity: 0;
    }
  }

  .dialog[data-open] {
    animation: appear .18s var(--ease);
  }

  .dialog-backdrop[data-open] {
    animation: fade .18s var(--ease);
  }

  .select-popup {
    animation: fade .12s var(--ease);
  }

  @keyframes appear {
    from {
      opacity: 0;
      transform: translateY(6px) scale(.98);
    }
  }

  @keyframes fade {
    from {
      opacity: 0;
    }
  }
}
