@charset "UTF-8";
:root {
  --ink: #18181b;
  --ink-secondary: #52525b;
  --ink-tertiary: #71717a;
  --frame: #f3f3f4;
  --paper: #ffffff;
  --paper-sunken: #f4f4f5;
  --paper-sunken-2: #ededef;
  --paper-hover: #f0f0f2;
  --paper-raised: #ffffff;
  --paper-selected: #eef4ff;
  --rule: #e4e4e7;
  --rule-strong: #d4d4d8;
  --accent: #1b6fee;
  --accent-ink: #ffffff;
  --accent-wash: #e8f0fe;
  --positive: #15803d;
  --positive-wash: #e7f6ec;
  --caution: #b45309;
  --caution-line: #d97706;
  --caution-wash: #fef6e0;
  --critical: #c2410c;
  --critical-wash: #fff1e8;
  --client: #f08a4b;
  --client-wash: #fff1e8;
  --role-strategy: #2563eb;
  --role-design: #db2777;
  --role-content: #059669;
  --role-dev: #7c3aed;
  --role-program: #b45309;
  --stage-lead: #71717a;
  --stage-conversation: #0891b2;
  --stage-proposal: #1b6fee;
  --stage-negotiation: #7c3aed;
  --stage-won: #15803d;
  --stage-lost: #dc2626;
  --practice-build: #1b6fee;
  --practice-support: #0891b2;
  --practice-visibility: #be185d;
  --category-strategy: #1b6fee;
  --category-research: #15803d;
  --category-visibility: #be185d;
  --category-architecture: #b45309;
  --category-design: #dc2626;
  --category-development: #6d28d9;
  --category-program: #52525b;
  --bar: #8db4f7;
  --scrim: rgb(24 24 27 / 28%);
  --font-ui: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
                  Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: var(--font-ui);
  --font-body: var(--font-ui);
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, "SF Mono", Menlo,
                  Consolas, monospace;
  --font-doc: "Source Serif 4", Georgia, "Times New Roman", serif;
  --weight-normal: 400;
  --weight-medium: 500;
  --weight-bold: 600;
  --weight-heavy: 700;
  --weight-display: 600;
  --text-2xs: 0.65625rem;
  --text-xs: 0.75rem;
  --text-sm: 0.84375rem;
  --text-base: 0.875rem;
  --text-md: 1.125rem;
  --text-lg: 1.375rem;
  --text-xl: 1.625rem;
  --text-2xl: 2rem;
  --text-3xl: 2.5rem;
  --leading-tight: 1.2;
  --leading-snug: 1.3;
  --leading-body: 1.5;
  --leading-loose: 1.6;
  --tracking-display: -0.01em;
  --tracking-tight: -0.005em;
  --tracking-normal: 0;
  --tracking-wide: 0.02em;
  --tracking-caps: 0.07em;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --space-10: 8rem;
  --measure: 72ch;
  --width-narrow: 38rem;
  --width-text: 46rem;
  --width-content: 64rem;
  --width-wide: 84rem;
  --panel-width: min(560px, 44vw);
  --gutter: var(--space-5);
  --row-head: 47px;
  --row-group: 48px;
  --row-item: 44px;
  --row-add: 40px;
  --row-break: 30px;
  --border: 1px solid var(--rule);
  --border-strong: 1px solid var(--rule-strong);
  --radius-sm: 6px;
  --radius: 8px;
  --radius-lg: 12px;
  --radius-full: 999px;
  --shadow-raised: 0 12px 32px rgb(0 0 0 / 12%);
  --shadow-overlay: 0 20px 60px rgb(0 0 0 / 25%);
  --shadow-control: 0 1px 2px rgb(0 0 0 / 10%);
  --focus-halo: 0 0 0 3px var(--accent-wash);
  --transition: 120ms ease-out;
  --panel-motion: 260ms cubic-bezier(0.2, 0.8, 0.2, 1);
  --fade: 180ms ease-out;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme=light]) {
    --ink: #f4f4f5;
    --ink-secondary: #c4c4cc;
    --ink-tertiary: #9e9ea8;
    --frame: #111113;
    --paper: #1a1a1d;
    --paper-sunken: #232327;
    --paper-sunken-2: #2a2a2f;
    --paper-hover: #232327;
    --paper-raised: #1a1a1d;
    --paper-selected: #1c2740;
    --rule: #2e2e33;
    --rule-strong: #3a3a40;
    --accent: #5b9bff;
    --accent-ink: #0b1220;
    --accent-wash: #1c2740;
    --positive: #4ade80;
    --positive-wash: #15291c;
    --caution: #f5b454;
    --caution-line: #d97706;
    --caution-wash: #332a12;
    --critical: #ff9c6b;
    --critical-wash: #3a2419;
    --client: #e07a3c;
    --client-wash: #3a2419;
    --bar: #4a74c0;
    --scrim: rgb(0 0 0 / 50%);
  }
}
:root[data-theme=dark] {
  --ink: #f4f4f5;
  --ink-secondary: #c4c4cc;
  --ink-tertiary: #9e9ea8;
  --frame: #111113;
  --paper: #1a1a1d;
  --paper-sunken: #232327;
  --paper-sunken-2: #2a2a2f;
  --paper-hover: #232327;
  --paper-raised: #1a1a1d;
  --paper-selected: #1c2740;
  --rule: #2e2e33;
  --rule-strong: #3a3a40;
  --accent: #5b9bff;
  --accent-ink: #0b1220;
  --accent-wash: #1c2740;
  --positive: #4ade80;
  --positive-wash: #15291c;
  --caution: #f5b454;
  --caution-line: #d97706;
  --caution-wash: #332a12;
  --critical: #ff9c6b;
  --critical-wash: #3a2419;
  --client: #e07a3c;
  --client-wash: #3a2419;
  --bar: #4a74c0;
  --scrim: rgb(0 0 0 / 50%);
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/inter-latin-496a588b.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/inter-latin-ext-5a6754fc.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/ibm-plex-mono-500-latin-deab9c2b.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/ibm-plex-mono-500-latin-ext-2cd882f8.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("/assets/source-serif-4-latin-88e013b5.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("/assets/source-serif-4-latin-ext-45521d1e.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  tab-size: 4;
}

html, body {
  overflow-x: clip;
}

body,
h1, h2, h3, h4, h5, h6,
p, figure, blockquote, dl, dd,
ul, ol {
  margin: 0;
}

ul[class], ol[class] {
  padding: 0;
  list-style: none;
}

img, picture, svg, video {
  display: block;
  max-width: 100%;
  height: auto;
}

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

button {
  background: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

hr {
  height: 0;
  border: 0;
  border-top: var(--border);
}

[hidden] {
  display: none !important;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-body);
  color: var(--ink);
  background-color: var(--frame);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  line-height: var(--leading-snug);
  letter-spacing: var(--tracking-display);
  color: var(--ink);
  text-wrap: balance;
}

h1 {
  font-size: var(--text-xl);
}

h2 {
  font-size: var(--text-md);
}

h3 {
  font-size: var(--text-base);
}

h4 {
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--ink-tertiary);
}

.display {
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  line-height: var(--leading-snug);
  letter-spacing: var(--tracking-display);
  font-size: var(--text-2xl);
  line-height: var(--leading-tight);
}

p {
  text-wrap: pretty;
}

p + p {
  margin-top: var(--space-3);
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

strong, b {
  font-weight: var(--weight-bold);
}

small {
  font-size: var(--text-xs);
}

code, pre, kbd {
  font-family: var(--font-mono);
  font-size: 0.9em;
}

code {
  padding: 0.1em 0.35em;
  background-color: var(--paper-sunken);
  border-radius: var(--radius-sm);
}

kbd {
  font-size: 11px;
  font-weight: var(--weight-medium);
  color: var(--ink-tertiary);
}

pre {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding: var(--space-4) var(--space-5);
  background-color: var(--paper-sunken);
  border-radius: var(--radius-lg);
  font-size: 12.5px;
  line-height: var(--leading-loose);
}
pre code {
  padding: 0;
  background: none;
}

blockquote {
  padding-left: var(--space-4);
  border-left: 3px solid var(--rule-strong);
  color: var(--ink-secondary);
}

.label {
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--ink-tertiary);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--ink-tertiary);
  display: block;
  margin-bottom: var(--space-2);
}

.lede {
  font-size: var(--text-base);
  line-height: var(--leading-loose);
  color: var(--ink-tertiary);
  max-width: var(--measure);
}

.muted {
  color: var(--ink-secondary);
}

.quiet {
  color: var(--ink-tertiary);
}

.numeric {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

.doc {
  font-family: var(--font-doc);
  font-size: 0.90625rem;
  line-height: 1.55;
  max-width: var(--measure);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.container {
  width: 100%;
  max-width: var(--width-wide);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--content {
  max-width: var(--width-content);
}

.container--text {
  max-width: var(--width-text);
}

.container--narrow {
  max-width: var(--width-narrow);
}

.section {
  padding-block: var(--space-7);
}

.section--tall {
  padding-block: var(--space-9);
}

.stack > * + * {
  margin-top: var(--space-4);
}

.stack--tight > * + * {
  margin-top: var(--space-2);
}

.stack--loose > * + * {
  margin-top: var(--space-6);
}

.cluster {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
}

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

.cluster--end {
  justify-content: flex-end;
}

.cluster--tight {
  gap: var(--space-2);
}

.grid {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: minmax(0, 1fr);
}
.grid > * {
  min-width: 0;
}

@media (min-width: 40rem) {
  .grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 52rem) {
  .grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 40rem) {
  .grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 68rem) {
  .grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.split {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: minmax(0, 1fr);
}
.split > * {
  min-width: 0;
}
@media (min-width: 52rem) {
  .split {
    grid-template-columns: minmax(0, 1fr) 18rem;
    align-items: start;
  }
}

@media (min-width: 52rem) {
  .split--rail-first {
    grid-template-columns: 16rem minmax(0, 1fr);
  }
}

.panel {
  min-width: 0;
}

.rule {
  border: 0;
  border-top: var(--border);
  margin-block: var(--space-6);
}

.rule--strong {
  border-top: var(--border-strong);
}

.workspace {
  min-height: calc(100vh - 4.5rem);
  margin: 0 var(--space-2) var(--space-2);
  padding-block: var(--space-6) var(--space-7);
  background-color: var(--paper);
  border: var(--border);
  border-radius: var(--radius-lg);
}

.page-header {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: var(--space-5);
}

.page-header__text {
  max-width: var(--measure);
}

.page-header__description {
  margin-top: 4px;
  color: var(--ink-tertiary);
}

.workspace__body {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  padding-inline: var(--gutter);
}
@media (max-width: 51.99rem) {
  .workspace__body {
    flex-direction: column;
    align-items: stretch;
  }
}

.workspace__main {
  flex: 1 1 auto;
  min-width: 0;
}

.workspace__side {
  position: sticky;
  top: var(--space-4);
  flex: 0 0 auto;
  max-height: calc(100vh - var(--space-6));
  overflow-y: auto;
}
.workspace__side[hidden] {
  display: none;
}
.workspace__side.is-fresh .side-panel {
  animation: side-panel-fade var(--fade);
}
@media (max-width: 51.99rem) {
  .workspace__side {
    position: static;
    max-height: none;
  }
}

@keyframes side-panel-fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .workspace__side.is-fresh .side-panel {
    animation: none;
  }
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 12px;
  border: 0;
  border-radius: var(--radius);
  background-color: var(--paper-sunken);
  color: var(--ink);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  line-height: 20px;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color var(--transition), color var(--transition), filter var(--transition);
}
.btn:hover {
  background-color: var(--paper-sunken-2);
  text-decoration: none;
}
.btn:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--accent);
}
.btn:disabled, .btn[aria-disabled=true] {
  opacity: 0.5;
  cursor: not-allowed;
  filter: none;
}
.btn[aria-busy=true] {
  opacity: 0.8;
  cursor: progress;
}

.btn--primary {
  background-color: var(--accent);
  color: var(--accent-ink);
}
.btn--primary:hover {
  background-color: var(--accent);
  filter: brightness(1.07);
}

.btn--quiet {
  padding: 4px 6px;
  background: none;
  color: var(--accent);
}
.btn--quiet:hover {
  background-color: var(--accent-wash);
}

.btn--ghost {
  padding: 4px 6px;
  background: none;
  color: var(--ink-tertiary);
}
.btn--ghost:hover {
  background-color: var(--accent-wash);
  color: var(--accent);
}

.btn--danger {
  padding: 4px 6px;
  background: none;
  color: var(--ink-tertiary);
}
.btn--danger:hover {
  background-color: var(--critical-wash);
  color: var(--critical);
}

.btn--danger-solid {
  background-color: var(--critical);
  color: #fff;
}
.btn--danger-solid:hover {
  background-color: var(--critical);
  filter: brightness(1.07);
}

.btn--sm {
  padding: 5px 10px;
  font-size: 12.5px;
  line-height: 18px;
}

.btn--xs {
  box-sizing: border-box;
  height: 28px;
  padding: 0 10px;
  font-size: 12.5px;
  line-height: 1;
  border-radius: 7px;
}

.btn--lg {
  padding: 9px 16px;
  font-size: var(--text-base);
}

.btn--block {
  display: flex;
  width: 100%;
}

.btn--icon {
  width: 30px;
  height: 30px;
  padding: 0;
  background: none;
  color: var(--ink-tertiary);
}
.btn--icon:hover {
  background-color: var(--paper-sunken-2);
  color: var(--ink);
}
.btn--icon.btn--sm {
  width: 24px;
  height: 24px;
  border-radius: var(--radius-sm);
}
.btn--icon.btn--primary {
  background-color: var(--accent);
  color: var(--accent-ink);
}

.btn-link {
  padding: 0;
  border: 0;
  background: none;
  color: var(--accent);
  font-size: inherit;
  cursor: pointer;
}
.btn-link:hover {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
.btn-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.btn-link--danger {
  color: var(--ink-tertiary);
}
.btn-link--danger:hover {
  color: var(--critical);
}

.add-circle {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  padding: 0;
  border: var(--border-strong);
  border-radius: var(--radius-full);
  background-color: var(--paper);
  color: var(--accent);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
}
.add-circle:hover, .add-circle[aria-expanded=true] {
  border-color: var(--accent);
  background-color: var(--accent);
  color: var(--accent-ink);
}
.add-circle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  align-items: center;
}

.form {
  max-width: var(--width-narrow);
}

.form--wide {
  max-width: none;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: var(--text-sm);
}

.field + .field {
  margin-top: 14px;
}

.field__label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: var(--weight-medium);
}

.field__hint {
  font-size: var(--text-xs);
  color: var(--ink-tertiary);
}

.field__error {
  font-size: var(--text-xs);
  color: var(--critical);
}

.input,
.select,
.textarea {
  display: block;
  width: 100%;
  padding: 6px 9px;
  background-color: var(--paper-raised);
  border: var(--border-strong);
  border-radius: var(--radius);
  color: var(--ink);
  font-size: var(--text-sm);
  line-height: 20px;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.input::placeholder,
.select::placeholder,
.textarea::placeholder {
  color: var(--ink-tertiary);
}
.input:hover,
.select:hover,
.textarea:hover {
  border-color: var(--ink-tertiary);
}
.input:focus,
.select:focus,
.textarea:focus {
  outline: 0;
  border-color: var(--accent);
  box-shadow: var(--focus-halo);
}
.input:disabled,
.select:disabled,
.textarea:disabled {
  background-color: var(--paper-sunken);
  color: var(--ink-tertiary);
  cursor: not-allowed;
}
.input[readonly],
.select[readonly],
.textarea[readonly] {
  background-color: var(--paper-sunken);
  border-color: transparent;
  color: var(--ink-secondary);
}
.input[aria-invalid=true],
.select[aria-invalid=true],
.textarea[aria-invalid=true] {
  border-color: var(--critical);
}

.input--sm {
  width: auto;
  padding-block: 3px;
  font-size: var(--text-xs);
}

.input--numeric {
  width: 120px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.input--set {
  border-color: var(--caution-line);
  background-color: var(--caution-wash);
}

.textarea {
  min-height: 76px;
  resize: vertical;
}

.textarea--doc {
  font-family: var(--font-doc);
  font-size: 0.90625rem;
  line-height: 1.55;
}

.select {
  appearance: none;
  padding-right: 28px;
  text-align: left;
  cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-tertiary) 50%), linear-gradient(135deg, var(--ink-tertiary) 50%, transparent 50%);
  background-position: calc(100% - 15px) 55%, calc(100% - 11px) 55%;
  background-size: 4px 4px, 4px 4px;
  background-repeat: no-repeat;
}

.search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 9px;
  border: var(--border-strong);
  border-radius: var(--radius);
  background-color: var(--paper-raised);
  color: var(--ink-tertiary);
}
.search:focus-within {
  border-color: var(--accent);
  box-shadow: var(--focus-halo);
}
.search .input {
  padding-inline: 0;
  border: 0;
  background: none;
  box-shadow: none;
}

.stepper {
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  border: var(--border-strong);
  border-radius: var(--radius);
  background-color: var(--paper-raised);
}
.stepper button {
  width: 30px;
  height: 32px;
  border: 0;
  background: none;
  color: var(--ink-secondary);
  cursor: pointer;
}
.stepper button:hover {
  background-color: var(--paper-hover);
}
.stepper button:disabled {
  color: var(--ink-tertiary);
  background: none;
  cursor: default;
}
.stepper output, .stepper span {
  min-width: 44px;
  text-align: center;
  font-size: var(--text-sm);
  font-variant-numeric: tabular-nums;
}

.choice {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  cursor: pointer;
}

.choice + .choice {
  margin-top: var(--space-3);
}

.choice__control {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--accent);
}

.choice__text {
  font-size: var(--text-sm);
}

.choice__hint {
  display: block;
  color: var(--ink-tertiary);
  font-size: var(--text-xs);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  align-items: center;
  margin-bottom: var(--space-4);
}
.filter-bar .input, .filter-bar .select {
  width: auto;
}
.filter-bar .search {
  min-width: 14rem;
}

.inline-form {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  align-items: flex-start;
}
.inline-form .input, .inline-form .select {
  flex: 1 1 12rem;
  width: auto;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  align-items: center;
  margin-top: var(--space-5);
  padding-top: var(--space-4);
  border-top: var(--border);
}

.field_with_errors {
  display: contents;
}
.field_with_errors .input, .field_with_errors .select, .field_with_errors .textarea {
  border-color: var(--critical);
}

.form-errors {
  padding: 10px 12px;
  margin-bottom: var(--space-4);
  border-radius: var(--radius);
  background-color: var(--critical-wash);
  color: var(--ink-secondary);
  font-size: 13px;
}
.form-errors__title {
  color: var(--ink);
  font-weight: var(--weight-bold);
  margin-bottom: var(--space-1);
}
.form-errors ul {
  padding-left: var(--space-4);
  list-style: disc;
}

.results-line {
  display: flex;
  gap: var(--space-3);
  align-items: center;
  justify-content: space-between;
  min-height: 34px;
  margin: calc(var(--space-2) * -1) 0 var(--space-3);
  font-size: var(--text-sm);
}

.table-wrap {
  background-color: var(--paper);
  border: var(--border);
  border-radius: var(--radius-lg);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table {
  width: 100%;
  font-size: var(--text-sm);
  text-align: left;
  font-variant-numeric: tabular-nums;
}
.table th, .table td {
  padding: 0 12px;
  vertical-align: middle;
  white-space: nowrap;
}
.table thead th {
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--ink-tertiary);
  height: var(--row-head);
  border-bottom: var(--border);
}
.table tbody td {
  height: var(--row-item);
  border-top: var(--border);
}
.table tbody tr:first-child td {
  border-top: 0;
}
.table .table__group td {
  height: var(--row-group);
  background-color: var(--paper-sunken);
  font-weight: var(--weight-bold);
}
.table tr[data-href],
.table .is-clickable {
  cursor: pointer;
}
.table tr[data-href]:hover td,
.table .is-clickable:hover td {
  background-color: var(--paper-hover);
}
.table tr[data-href].table__group:hover td,
.table .is-clickable.table__group:hover td {
  background-color: var(--paper-sunken-2);
}
.table tr[aria-selected=true] td {
  background-color: var(--paper-selected);
}
.table tr[aria-selected=true] td:first-child {
  box-shadow: inset 3px 0 0 var(--accent);
}
.table .table__add td {
  height: var(--row-add);
  color: var(--ink-tertiary);
  font-size: 13px;
}
.table .table__add td:hover {
  color: var(--accent);
}
.table .table__total td {
  font-weight: var(--weight-bold);
  border-top: var(--border-strong);
}
.table .table__break td {
  position: relative;
  height: var(--row-break);
  padding: 0;
  background: var(--paper);
}
.table .table__break td::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 50%;
  border-top: 1.5px dashed color-mix(in srgb, var(--break-colour, var(--rule-strong)) 60%, transparent);
}
.table .is-numeric {
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.table .is-actions {
  text-align: right;
  white-space: nowrap;
}

.table__primary {
  font-weight: var(--weight-medium);
  color: var(--ink);
}

.table__secondary {
  display: block;
  font-size: var(--text-xs);
  color: var(--ink-tertiary);
}

.break-tag {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-left: -12px;
  padding: 1px 10px;
  border: 1px solid var(--break-colour, var(--rule-strong));
  border-radius: var(--radius-full);
  background-color: var(--paper);
  color: var(--break-colour, var(--ink-secondary));
  font-size: 11.5px;
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-wide);
}

.detail-list {
  display: grid;
  gap: 0;
  font-size: var(--text-sm);
}
@media (min-width: 40rem) {
  .detail-list {
    grid-template-columns: 10rem minmax(0, 1fr);
  }
}
.detail-list dt {
  padding: 5px 0 0;
  color: var(--ink-secondary);
}
@media (min-width: 40rem) {
  .detail-list dt {
    padding: 5px 0;
  }
}
.detail-list dd {
  padding: 0 0 5px;
  margin: 0;
  font-weight: var(--weight-bold);
  font-variant-numeric: tabular-nums;
}
@media (min-width: 40rem) {
  .detail-list dd {
    padding: 5px 0;
    text-align: right;
  }
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
  justify-content: space-between;
  margin-top: var(--space-4);
  font-size: var(--text-sm);
}

.pagination__count {
  color: var(--ink-tertiary);
}

.pagination__links {
  display: flex;
  gap: var(--space-2);
}

.table td.is-critical {
  color: var(--critical);
}

.table--compact tbody td {
  height: 36px;
}
.table--compact thead th {
  height: 36px;
}
.table--compact th:first-child, .table--compact td:first-child {
  padding-left: 0;
}
.table--compact th:last-child, .table--compact td:last-child {
  padding-right: 0;
}
.table--compact td {
  white-space: normal;
}

.table code {
  white-space: nowrap;
}

.board {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  display: flex;
  gap: var(--space-3);
  align-items: stretch;
  padding-bottom: var(--space-2);
}

.board__column {
  display: flex;
  flex: 0 0 272px;
  flex-direction: column;
  max-height: calc(100vh - 20rem);
  min-height: 18rem;
  background-color: var(--paper-sunken);
  border-radius: var(--radius-lg);
  transition: box-shadow var(--transition);
}
.board__column.is-drop-target {
  box-shadow: inset 0 0 0 2px var(--accent);
}

.board__head {
  display: flex;
  gap: var(--space-2);
  align-items: center;
  min-height: 44px;
  padding: 0 var(--space-3);
  font-size: var(--text-sm);
  font-weight: var(--weight-bold);
}
.board__head .board__count {
  color: var(--ink-tertiary);
  font-weight: var(--weight-normal);
}

.board__add {
  margin-left: auto;
  opacity: 0;
  transition: opacity var(--transition);
}
.board__column:hover .board__add, .board__add:focus-visible {
  opacity: 1;
}

.board__cards {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: var(--space-2);
  min-height: 3rem;
  padding: 0 var(--space-2) var(--space-2);
  overflow-y: auto;
}

.board__foot {
  padding: 10px var(--space-3);
  border-top: var(--border);
  font-size: var(--text-sm);
}
.board__foot b {
  font-weight: var(--weight-bold);
}
.board__foot small {
  display: block;
  color: var(--ink-tertiary);
  font-size: var(--text-xs);
}

.board__hint {
  margin-top: var(--space-3);
  color: var(--ink-tertiary);
  font-size: var(--text-xs);
}

.deal-card {
  background-color: var(--paper);
  border: var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px 12px 12px;
  font-size: var(--text-sm);
  cursor: grab;
  transition: border-color var(--transition);
}
.deal-card:hover {
  border-color: var(--rule-strong);
}
.deal-card:focus-within {
  border-color: var(--accent);
}
.deal-card.is-dragging {
  opacity: 0.45;
  cursor: grabbing;
}

.deal-card__name {
  color: var(--accent);
  font-weight: var(--weight-bold);
  line-height: var(--leading-snug);
  text-decoration: none;
}
.deal-card__name:hover {
  text-decoration: underline;
}
.deal-card__name:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.deal-card__value {
  display: flex;
  gap: 6px;
  align-items: center;
  font-variant-numeric: tabular-nums;
}

.deal-card__meta {
  color: var(--ink-secondary);
}

.deal-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 6px;
}

.checklist {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0 0 var(--space-2);
  padding: 0;
  list-style: none;
}

.checklist__item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 6px 0;
  font-size: var(--text-sm);
}
.checklist__item form {
  display: contents;
}

.checklist__box {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  padding: 0;
  border: 1.5px solid var(--rule-strong);
  border-radius: var(--radius-full);
  background-color: var(--paper);
  cursor: pointer;
  transition: border-color var(--transition), background-color var(--transition);
}
.checklist__box:hover {
  border-color: var(--accent);
  background-color: var(--accent-wash);
}
.checklist__box:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.checklist__text {
  min-width: 0;
  color: var(--ink);
}
.checklist__text small {
  display: block;
  color: var(--ink-tertiary);
  font-size: var(--text-xs);
}
.is-overdue .checklist__text small {
  color: var(--critical);
}

.note {
  padding: 10px 12px;
  border: var(--border);
  border-radius: var(--radius);
  background-color: var(--paper);
  font-size: var(--text-sm);
}

.note--pinned {
  border-color: var(--caution-line);
  background-color: var(--caution-wash);
}

.note__head {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 4px;
  font-size: var(--text-xs);
}

.note__tools {
  display: inline-flex;
  gap: 10px;
  margin-left: auto;
}
.note__tools form {
  display: inline;
}

.note__body {
  color: var(--ink);
  white-space: normal;
}

.link-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0 0 var(--space-2);
  padding: 0;
  list-style: none;
  font-size: var(--text-sm);
}
.link-list li {
  display: flex;
  gap: 8px;
  align-items: center;
  min-width: 0;
}
.link-list a {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.link-list__remove {
  margin-left: auto;
}

.deal-layout {
  display: grid;
  gap: var(--space-5);
  align-items: start;
}
@media (min-width: 52rem) {
  .deal-layout {
    grid-template-columns: 184px minmax(0, 1fr);
  }
}

.deal-layout__main {
  min-width: 0;
}

.deal-rail {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
@media (max-width: 51.99rem) {
  .deal-rail {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

.deal-rail__back {
  margin-bottom: var(--space-3);
  color: var(--ink-tertiary);
  font-size: var(--text-sm);
  text-decoration: none;
}
.deal-rail__back:hover {
  color: var(--accent);
}

.deal-rail__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 32px;
  padding: 0 10px;
  border-radius: var(--radius);
  color: var(--ink-secondary);
  font-size: var(--text-sm);
  text-decoration: none;
  transition: background-color var(--transition), color var(--transition);
}
.deal-rail__link:hover {
  background-color: var(--paper-hover);
  color: var(--ink);
}
.deal-rail__link[aria-current=page] {
  background-color: var(--paper-sunken-2);
  color: var(--ink);
  font-weight: var(--weight-bold);
}
.deal-rail__link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.deal-rail__count {
  min-width: 22px;
  padding: 0 6px;
  border-radius: var(--radius-full);
  background-color: var(--paper-sunken);
  color: var(--ink-tertiary);
  font-size: var(--text-xs);
  text-align: center;
}

.plan-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: var(--space-5);
  font-size: var(--text-sm);
}
.plan-strip > span {
  padding: 5px 10px;
  border: var(--border);
  border-radius: var(--radius);
  background-color: var(--paper-raised);
  font-variant-numeric: tabular-nums;
}
.plan-strip b {
  margin-left: 4px;
  font-weight: var(--weight-bold);
}

.plan-table {
  table-layout: fixed;
}
.plan-table th:nth-child(1) {
  width: 56px;
}
.plan-table th:nth-child(3) {
  width: 104px;
}
.plan-table th:nth-child(4) {
  width: 76px;
}
.plan-table th:nth-child(5) {
  width: 56px;
}
.plan-table th:nth-child(6) {
  width: 112px;
}
.plan-table td:nth-child(2) {
  overflow: hidden;
  text-overflow: ellipsis;
}
.plan-table td:nth-child(2) .who {
  min-width: 0;
}
.plan-table td:nth-child(2) .who > a {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.plan-table .plan-table__lead {
  padding-right: 0;
  white-space: nowrap;
}
.plan-table .plan-table__activity td:nth-child(2) {
  padding-left: 34px;
}
.plan-table .plan-table__activity.is-client .plan-table__name {
  color: var(--ink-secondary);
}
.plan-table .plan-table__index {
  display: inline-block;
  min-width: 22px;
}
.plan-table .plan-table__name {
  color: var(--ink);
  text-decoration: none;
}
.plan-table .plan-table__name:hover {
  color: var(--accent);
}
.plan-table .is-dragging {
  opacity: 0.4;
}
.plan-table .is-drop-before td, .plan-table tr.is-drop-before td {
  box-shadow: inset 0 2px 0 var(--accent);
}
.plan-table tbody.is-drop-before > tr:first-child td {
  box-shadow: inset 0 2px 0 var(--accent);
}

.plan-table__chevron {
  width: 20px;
  height: 20px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink-tertiary);
  font-size: 15px;
  cursor: pointer;
  transition: transform var(--transition);
}
.plan-table__chevron[aria-expanded=true] {
  transform: rotate(90deg);
}
.plan-table__chevron:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.grip {
  display: inline-block;
  width: 14px;
  color: var(--ink-tertiary);
  cursor: grab;
  opacity: 0.5;
}
tr:hover .grip, tbody:hover > tr:first-child .grip {
  opacity: 1;
}

.lever {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  min-height: 40px;
  font-size: var(--text-sm);
}

.stepper__input {
  width: 48px;
  border: 0;
  background: none;
  color: var(--ink);
  font: inherit;
  text-align: center;
  font-variant-numeric: tabular-nums;
  appearance: textfield;
}
.stepper__input::-webkit-inner-spin-button, .stepper__input::-webkit-outer-spin-button {
  appearance: none;
  margin: 0;
}
.stepper__input:focus-visible {
  outline: none;
}

.pick-row__form {
  display: block;
}

.pick-row {
  display: flex;
  gap: 10px;
  align-items: center;
  width: 100%;
  padding: 8px 10px;
  border: var(--border);
  border-radius: var(--radius);
  background-color: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: var(--text-sm);
  text-align: left;
  cursor: pointer;
  transition: border-color var(--transition), background-color var(--transition);
}
.pick-row:hover {
  border-color: var(--accent);
  background-color: var(--accent-wash);
}
.pick-row:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.pick-row__text {
  flex: 1;
}
.pick-row__text small {
  display: block;
  color: var(--ink-tertiary);
  font-size: var(--text-xs);
}

.pick-row__add {
  color: var(--accent);
  font-weight: var(--weight-bold);
}

.reset-link {
  margin-top: var(--space-2);
}

.is-needed {
  color: var(--critical);
}

.meter {
  display: block;
  width: 100%;
  max-width: 160px;
  height: 6px;
  overflow: hidden;
  border-radius: var(--radius-full);
  background-color: var(--paper-sunken-2);
}

.meter__fill {
  display: block;
  height: 100%;
  border-radius: var(--radius-full);
  background-color: var(--accent);
}

.stat__value.is-positive {
  color: var(--positive);
}

.timeline {
  --week: 47px;
  table-layout: fixed;
  width: max-content;
  min-width: 100%;
}
.timeline th:nth-child(1) {
  width: 260px;
}
.timeline th:nth-child(2) {
  width: 72px;
}
.timeline th:nth-child(3) {
  width: 56px;
}
.timeline td:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
}
.timeline .plan-table__chevron {
  margin-right: 4px;
}

.timeline .timeline__track {
  position: relative;
  width: calc(var(--weeks) * var(--week));
  padding: 0;
}

.timeline__weeks,
.timeline__cells {
  display: grid;
  grid-template-columns: repeat(var(--weeks), var(--week));
  height: 100%;
}

.timeline__week {
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--ink-tertiary);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 6px 6px;
  border-left: var(--border);
  font-size: 10px;
  line-height: 1.3;
}
.timeline__week b {
  color: var(--ink);
  white-space: nowrap;
}

.timeline .timeline__activity {
  padding-left: 34px;
  color: var(--ink-secondary);
}

.timeline__bar {
  position: absolute;
  top: 50%;
  height: 16px;
  min-width: 4px;
  border-radius: var(--radius-sm);
  background-color: var(--bar);
  transform: translateY(-50%);
}

.timeline__bar--block {
  height: 10px;
  background-color: var(--ink);
}

.timeline__bar--agency {
  background-color: var(--bar);
}

.timeline__bar--client {
  background-color: var(--client);
}

.timeline__launch {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background-color: var(--critical);
  pointer-events: none;
}

.timeline__milestone {
  position: absolute;
  top: 50%;
  padding: 1px 6px;
  border-radius: var(--radius-sm);
  background-color: var(--ink);
  color: var(--paper);
  font-size: var(--text-xs);
  white-space: nowrap;
  transform: translate(-50%, -50%);
}

.timeline__cell {
  display: grid;
  place-items: center;
  height: 100%;
  border-left: var(--border);
  font-size: var(--text-xs);
  font-variant-numeric: tabular-nums;
}
.timeline__cell.is-set {
  background-color: var(--caution-wash);
}

.timeline__input {
  width: 100%;
  height: 100%;
  border: 0;
  background: none;
  color: var(--ink);
  font: inherit;
  text-align: center;
}
.timeline__input::placeholder {
  color: var(--ink-secondary);
}
.timeline__input.is-set {
  background-color: var(--caution-wash);
  font-weight: var(--weight-bold);
}
.timeline__input:focus-visible {
  outline: none;
  background-color: var(--accent-wash);
}

.timeline-legend {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-3);
  color: var(--ink-tertiary);
  font-size: var(--text-xs);
}
.timeline-legend > span {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.timeline-key {
  display: inline-block;
  width: 14px;
  height: 8px;
  border-radius: 2px;
}

.timeline-key--agency {
  background-color: var(--bar);
}

.timeline-key--client {
  background-color: var(--client);
}

.timeline-key--launch {
  width: 2px;
  height: 12px;
  background-color: var(--critical);
}

.alert {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 12px;
  border-radius: var(--radius);
  background-color: var(--paper-sunken);
  color: var(--ink-secondary);
  font-size: 13px;
}
.alert b, .alert strong {
  color: var(--ink);
}

.alert + .alert {
  margin-top: var(--space-2);
}

.alert__icon {
  flex: none;
  margin-top: 1px;
  font-weight: var(--weight-heavy);
  line-height: 18px;
}

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

.alert__actions {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}

.alert__dismiss {
  flex: none;
  margin: -2px -4px 0 0;
  padding: 0 4px;
  border: 0;
  border-radius: var(--radius-sm);
  background: none;
  color: var(--ink-tertiary);
  font-size: var(--text-md);
  line-height: 1;
  cursor: pointer;
}
.alert__dismiss:hover {
  color: var(--ink);
  background-color: rgba(0, 0, 0, 0.05);
}

.alert--info {
  background-color: var(--accent-wash);
}
.alert--info .alert__icon {
  color: var(--accent);
}

.alert--notice,
.alert--ok {
  background-color: var(--positive-wash);
}
.alert--notice .alert__icon,
.alert--ok .alert__icon {
  color: var(--positive);
}

.alert--warning {
  background-color: var(--caution-wash);
}
.alert--warning .alert__icon {
  color: var(--caution);
}

.alert--alert,
.alert--error {
  background-color: var(--critical-wash);
}
.alert--alert .alert__icon,
.alert--error .alert__icon {
  color: var(--critical);
}

.toasts {
  position: fixed;
  z-index: 60;
  bottom: 0;
  left: 0;
  width: 100vw;
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  pointer-events: none;
}
.toasts .alert {
  pointer-events: auto;
  align-items: center;
  width: auto;
  max-width: min(32rem, 100%);
  padding: 10px 12px 10px 16px;
  border-radius: 10px;
  background-color: var(--ink);
  color: var(--paper);
  font-size: var(--text-sm);
  box-shadow: var(--shadow-raised);
}
.toasts .alert b, .toasts .alert strong {
  color: inherit;
}
.toasts .alert .alert__icon {
  color: inherit;
}
.toasts .alert__dismiss {
  margin: 0;
  color: inherit;
  opacity: 0.6;
}
.toasts .alert__dismiss:hover {
  opacity: 1;
  background-color: rgba(255, 255, 255, 0.1);
}
.toasts .btn--quiet {
  color: var(--bar);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 1px 8px;
  border: 0;
  border-radius: var(--radius-sm);
  background-color: var(--paper-sunken);
  color: var(--ink-secondary);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  line-height: 18px;
  white-space: nowrap;
}

.badge--round {
  border-radius: var(--radius-full);
}

.badge--sm {
  padding: 0 6px;
  font-size: 11px;
  line-height: 16px;
}

.badge--accent {
  background-color: var(--accent-wash);
  color: var(--accent);
}

.badge--positive {
  background-color: var(--positive-wash);
  color: var(--positive);
}

.badge--caution {
  background-color: var(--caution-wash);
  color: var(--caution);
}

.badge--critical {
  background-color: var(--critical-wash);
  color: var(--critical);
}

.badge--quiet {
  background-color: var(--paper-sunken);
  color: var(--ink-tertiary);
}

.badge--outline {
  padding: 0 7px;
  border: 1px solid var(--tag-colour, var(--rule-strong));
  background-color: var(--paper);
  color: var(--tag-colour, var(--ink-secondary));
}

.badge--set {
  background-color: var(--caution-wash);
  color: var(--caution);
  font-weight: var(--weight-bold);
}

.dot {
  display: inline-block;
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background-color: var(--dot-colour, var(--ink-tertiary));
}

.dot--sm {
  width: 6px;
  height: 6px;
}

.dot--lg {
  width: 10px;
  height: 10px;
}

.masthead {
  background-color: var(--frame);
}

.masthead__inner {
  display: flex;
  gap: var(--space-3);
  align-items: center;
  justify-content: space-between;
  min-height: 3.5rem;
  padding-block: var(--space-2);
}
@media (min-width: 40rem) {
  .masthead__inner {
    gap: var(--space-4);
  }
}

.masthead__brand {
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  line-height: var(--leading-snug);
  letter-spacing: var(--tracking-display);
  font-size: var(--text-base);
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.masthead__brand:hover {
  color: var(--ink);
  text-decoration: none;
}

.masthead__nav {
  display: none;
  gap: 2px;
  align-items: center;
}
@media (min-width: 52rem) {
  .masthead__nav {
    display: flex;
  }
}

.masthead__actions {
  display: flex;
  gap: var(--space-2);
  align-items: center;
  min-width: 0;
}
@media (min-width: 40rem) {
  .masthead__actions {
    gap: var(--space-3);
  }
}

.nav-link {
  padding: 5px 10px;
  border-radius: var(--radius);
  color: var(--ink-secondary);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  text-decoration: none;
}
.nav-link:hover {
  background-color: var(--paper-sunken-2);
  color: var(--ink);
  text-decoration: none;
}
.nav-link[aria-current=page] {
  background-color: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow-control);
}

.subnav {
  display: flex;
  gap: 4px;
  align-items: center;
  overflow-x: auto;
  margin-bottom: var(--space-5);
  border-bottom: var(--border);
}
.subnav .nav-link {
  padding: 9px 12px;
  margin-bottom: -1px;
  border-radius: 0;
  border-bottom: 2px solid transparent;
  color: var(--ink-tertiary);
  font-size: var(--text-base);
  white-space: nowrap;
}
.subnav .nav-link:hover {
  background: none;
  color: var(--ink);
}
.subnav .nav-link[aria-current=page] {
  background: none;
  box-shadow: none;
  color: var(--ink);
  border-bottom-color: var(--ink);
}

@media (min-width: 52rem) {
  .masthead__menu-button {
    display: none;
  }
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  padding-block: var(--space-3);
  border-top: var(--border);
}
@media (min-width: 52rem) {
  .mobile-nav {
    display: none;
  }
}
.mobile-nav .nav-link {
  padding: var(--space-2) 0;
  border-bottom: 0;
}

.team-switch {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 5px 10px;
  border: 0;
  border-radius: var(--radius);
  background-color: var(--paper-sunken-2);
  font-size: var(--text-sm);
  font-weight: var(--weight-medium);
  cursor: pointer;
  min-width: 0;
  max-width: 8rem;
}
@media (min-width: 40rem) {
  .team-switch {
    max-width: 14rem;
  }
}
.team-switch:hover {
  background-color: var(--rule);
}
.team-switch:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

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

.team-switch__caret {
  flex: none;
  color: var(--ink-tertiary);
  font-size: 0.6em;
}

.footer {
  padding-block: var(--space-4) var(--space-5);
  font-size: var(--text-sm);
  color: var(--ink-tertiary);
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
  justify-content: space-between;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}
.footer__links a {
  color: var(--ink-tertiary);
}
.footer__links a:hover {
  color: var(--ink);
}

.impersonation-banner {
  position: sticky;
  top: 0;
  z-index: 70;
  background-color: var(--critical);
  color: #ffffff;
}
.impersonation-banner__inner {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
  justify-content: space-between;
  padding-block: var(--space-2);
  font-size: var(--text-sm);
}
.impersonation-banner a, .impersonation-banner button {
  color: #ffffff;
  border-color: currentColor;
}
.impersonation-banner .btn:hover {
  background-color: #ffffff;
  color: var(--critical);
}

.stats + .subnav {
  margin-top: var(--space-5);
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown__menu {
  position: absolute;
  z-index: 50;
  top: calc(100% + 6px);
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 220px;
  max-width: 320px;
  padding: 6px;
  background-color: var(--paper-raised);
  border: var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow-raised);
}

.dropdown__menu[hidden] {
  display: none;
}

.dropdown__menu--left {
  right: auto;
  left: 0;
}

.dropdown__menu--static {
  position: static;
  box-shadow: var(--shadow-raised);
}

.dropdown__item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  padding: 8px 10px;
  border: 0;
  border-radius: 7px;
  background: none;
  color: var(--ink);
  font-size: var(--text-sm);
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
.dropdown__item:hover {
  background-color: var(--paper-hover);
  text-decoration: none;
}
.dropdown__item:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}
.dropdown__item[aria-checked=true]::after, .dropdown__item[aria-current=true]::after {
  content: "✓";
  margin-left: auto;
  color: var(--accent);
  font-weight: var(--weight-bold);
}
.dropdown__item:disabled, .dropdown__item[aria-disabled=true] {
  color: var(--ink-tertiary);
  background: none;
  cursor: default;
}
.dropdown__item small {
  display: block;
  color: var(--ink-tertiary);
  font-size: var(--text-xs);
  line-height: 1.35;
}
.dropdown__item kbd {
  margin-left: auto;
  padding-top: 2px;
}

.dropdown__icon {
  flex: none;
  width: 16px;
  margin-top: 1px;
  color: var(--ink-tertiary);
  text-align: center;
}

.dropdown__meta {
  margin-left: auto;
  color: var(--ink-tertiary);
  font-size: 12.5px;
  white-space: nowrap;
}

.dropdown__item--danger {
  color: var(--critical);
}
.dropdown__item--danger:hover {
  background-color: var(--critical-wash);
}

.dropdown__label {
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--ink-tertiary);
  display: block;
  padding: 8px 10px 4px;
}

.dropdown__divider {
  height: 1px;
  margin: 4px 2px;
  border: 0;
  background-color: var(--rule);
}

.menu-picker {
  position: relative;
  display: block;
}
.menu-picker .dropdown__menu {
  z-index: 80;
  max-height: 50vh;
  overflow-y: auto;
}

.menu-picker__button {
  display: flex;
  align-items: center;
  min-height: 34px;
}

.menu-picker__face {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.select--sm {
  min-height: 28px;
  padding-block: 3px;
  font-size: var(--text-xs);
}

.dropdown__item.choice + .dropdown__item.choice {
  margin-top: 0;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  overflow-y: auto;
  background-color: var(--scrim);
}

.modal[hidden] {
  display: none;
}

.modal__panel {
  width: 440px;
  max-width: 100%;
  margin-block: auto;
  padding: 20px 22px;
  background-color: var(--paper-raised);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-overlay);
}

.modal__header {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 6px;
}

.modal__title {
  font-size: var(--text-md);
  font-weight: var(--weight-bold);
}

.modal__description {
  margin-bottom: 14px;
  color: var(--ink-secondary);
}

.modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: var(--space-2);
  margin-top: var(--space-4);
}

.modal__close {
  flex: none;
  width: 30px;
  height: 30px;
  margin: -4px -8px 0 0;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: none;
  color: var(--ink-tertiary);
  font-size: var(--text-md);
  line-height: 1;
  cursor: pointer;
}
.modal__close:hover {
  color: var(--ink);
  background-color: var(--paper-sunken-2);
}
.modal__close:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.confirm-bar {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 10px 12px 10px 16px;
  border: var(--border);
  border-radius: var(--radius-lg);
  background-color: var(--paper-raised);
  box-shadow: var(--shadow-raised);
  font-size: var(--text-sm);
}
.confirm-bar b {
  font-weight: var(--weight-bold);
}
.confirm-bar small {
  display: block;
  color: var(--ink-tertiary);
  font-size: var(--text-xs);
}
.confirm-bar .input {
  width: 200px;
}

.confirm-bar__text {
  display: flex;
  flex-direction: column;
}

.confirm-bar__actions {
  display: flex;
  gap: 6px;
}

.confirm-bar--docked {
  position: fixed;
  z-index: 70;
  bottom: var(--space-5);
  left: 50%;
  transform: translateX(-50%);
}

.tabs__list {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  border-bottom: var(--border);
  margin-bottom: var(--space-4);
}

.tabs__tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  margin-bottom: -1px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  color: var(--ink-tertiary);
  font-size: var(--text-base);
  font-weight: var(--weight-medium);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}
.tabs__tab:hover {
  color: var(--ink);
  text-decoration: none;
}
.tabs__tab:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  outline-offset: -2px;
}
.tabs__tab[aria-selected=true], .tabs__tab[aria-current=page] {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.tabs__count {
  padding: 0 6px;
  border-radius: 10px;
  background-color: var(--paper-sunken);
  color: var(--ink-tertiary);
  font-size: 11.5px;
  font-weight: var(--weight-bold);
  line-height: 18px;
}

.tabs__count--warn {
  background-color: var(--critical-wash);
  color: var(--critical);
}

.tabs__list--sm {
  gap: 2px;
}
.tabs__list--sm .tabs__tab {
  padding: 10px;
  font-size: 13px;
}

.tabs__panel[hidden] {
  display: none;
}

.segmented {
  display: inline-flex;
  padding: 2px;
  border-radius: var(--radius);
  background-color: var(--paper-sunken);
}
.segmented button,
.segmented a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border: 0;
  border-radius: var(--radius-sm);
  background: none;
  color: var(--ink-secondary);
  font-size: 12.5px;
  font-weight: var(--weight-medium);
  text-decoration: none;
  cursor: pointer;
}
.segmented button:hover,
.segmented a:hover {
  color: var(--ink);
  text-decoration: none;
}
.segmented button:focus-visible,
.segmented a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  outline-offset: -2px;
}
.segmented button:disabled,
.segmented a:disabled {
  opacity: 0.4;
  cursor: default;
}
.segmented button[aria-pressed=true], .segmented button[aria-current=page],
.segmented a[aria-pressed=true],
.segmented a[aria-current=page] {
  background-color: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow-control);
}

.segmented--block {
  display: flex;
}
.segmented--block button, .segmented--block a {
  flex: 1;
  justify-content: center;
}

.segmented--sm button, .segmented--sm a {
  padding: 3px 8px;
  font-size: 11.5px;
}

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

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border: var(--border-strong);
  border-radius: var(--radius-full);
  background-color: var(--paper);
  color: var(--ink);
  font-size: 13px;
  font-weight: var(--weight-medium);
  text-decoration: none;
  cursor: pointer;
}
.pill:hover {
  border-color: var(--accent);
  color: var(--accent);
  text-decoration: none;
}
.pill:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.pill small {
  color: var(--ink-tertiary);
  font-weight: var(--weight-normal);
  font-size: inherit;
}
.pill[aria-pressed=true], .pill[aria-current=page] {
  border-color: var(--ink);
  background-color: var(--ink);
  color: var(--paper);
}
.pill[aria-pressed=true] small, .pill[aria-current=page] small {
  color: inherit;
  opacity: 0.7;
}

.switch {
  position: relative;
  flex: none;
  width: 38px;
  height: 22px;
  padding: 0;
  border: 0;
  border-radius: 11px;
  background-color: var(--rule-strong);
  cursor: pointer;
  transition: background-color var(--transition);
}
.switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: var(--radius-full);
  background-color: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  transition: left 150ms ease-out;
}
.switch[aria-checked=true], .switch[aria-pressed=true] {
  background-color: var(--accent);
}
.switch[aria-checked=true]::after, .switch[aria-pressed=true]::after {
  left: 19px;
}
.switch:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.switch:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.panel {
  background-color: var(--paper);
  border: var(--border);
  border-radius: var(--radius-lg);
  min-width: 0;
  padding: 18px 20px;
}

.panel + .panel {
  margin-top: var(--space-4);
}

.panel--sunken {
  background-color: var(--paper-sunken);
  border-color: transparent;
}

.panel__header {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: var(--space-3);
}
.panel__header h2, .panel__header h3 {
  font-size: var(--text-base);
  font-weight: var(--weight-bold);
}

.panel__description {
  margin: -8px 0 var(--space-3);
  color: var(--ink-tertiary);
  font-size: 13px;
}

.side-panel {
  background-color: var(--paper);
  border: var(--border);
  border-radius: var(--radius-lg);
  width: 100%;
  min-width: 0;
  overflow: hidden;
}
@media (min-width: 52rem) {
  .side-panel {
    width: var(--panel-width);
  }
}

.side-panel__header {
  padding: 14px 20px 16px;
  border-bottom: var(--border);
}
.side-panel__header .tabs__list {
  margin: 14px -20px -16px;
  padding: 0 14px;
  border-bottom: 0;
}

.side-panel__crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  margin-bottom: 6px;
}
.side-panel__crumb > span {
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--ink-tertiary);
  flex: 1;
}

.side-panel__tools {
  display: flex;
  gap: 2px;
  margin-left: auto;
}

.side-panel__top {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.side-panel__top > div:last-child {
  flex: 1;
  min-width: 0;
}

.side-panel__title {
  font-size: var(--text-md);
  font-weight: var(--weight-bold);
  line-height: var(--leading-snug);
}

.side-panel__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin-top: 2px;
  color: var(--ink-tertiary);
  font-size: 13px;
}

.side-panel__body {
  padding: 16px 20px;
}
.side-panel__body h4 {
  margin-bottom: 8px;
}
.side-panel__body p {
  color: var(--ink-secondary);
  font-size: var(--text-sm);
}

.side-panel__body + .side-panel__body {
  border-top: var(--border);
}

.panel-handle {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 44px;
  padding: 16px 0;
  border: 0;
  background: none;
  color: var(--ink-tertiary);
  cursor: pointer;
}
.panel-handle:hover {
  background-color: var(--paper-hover);
  color: var(--accent);
}
.panel-handle span {
  writing-mode: vertical-rl;
  font-size: 12.5px;
  font-weight: var(--weight-medium);
  white-space: nowrap;
}

.stats {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.stat {
  background-color: var(--paper);
  border: var(--border);
  border-radius: var(--radius-lg);
  min-width: 0;
  padding: 12px 14px;
}

.stat__label {
  display: block;
  color: var(--ink-tertiary);
  font-size: var(--text-xs);
}

.stat__value {
  display: block;
  overflow: hidden;
  font-size: clamp(16px, 1.6vw, 22px);
  font-weight: var(--weight-bold);
  font-variant-numeric: tabular-nums;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stat__note {
  display: block;
  margin-top: 2px;
  color: var(--ink-tertiary);
  font-size: var(--text-xs);
}

.stat__note--up {
  color: var(--positive);
}

.stat--lg .stat__value {
  font-size: 26px;
  font-weight: var(--weight-heavy);
}

.stat--sm {
  padding: 8px 10px;
  border: 0;
  border-radius: 9px;
  background-color: var(--paper-sunken);
}
.stat--sm .stat__value {
  font-size: var(--text-base);
  white-space: normal;
}
.stat--sm .stat__label {
  font-size: 11.5px;
}

.empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 28px 24px;
  border: 1.5px dashed var(--rule-strong);
  border-radius: var(--radius-lg);
  color: var(--ink-secondary);
  text-align: center;
}
.empty p {
  max-width: 360px;
  font-size: 13px;
}

.empty__title {
  color: var(--ink);
  font-size: 14.5px;
  font-weight: var(--weight-bold);
}

.empty--sm {
  flex-direction: row;
  gap: 12px;
  padding: 16px;
  border-width: 1px;
  text-align: left;
}
.empty--sm p {
  flex: 1;
  max-width: none;
}

.lock-note {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 10px;
  padding: 8px 10px;
  border-radius: var(--radius);
  background-color: var(--paper-sunken);
  color: var(--ink-secondary);
  font-size: 12.5px;
}

.icon-tile {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background-color: var(--tile-wash, var(--accent-wash));
  color: var(--tile-ink, var(--accent));
  font-size: 18px;
  line-height: 1;
}

.icon-tile--sm {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  font-size: 14px;
}

.icon-tile--xs {
  width: 20px;
  height: 20px;
  border-radius: var(--radius-sm);
  font-size: 12px;
}

.icon-tile--neutral {
  --tile-wash: var(--paper-sunken);
  --tile-ink: var(--ink-secondary);
}

.icon-tile--tinted {
  --tile-ink: var(--tile-colour);
  --tile-wash: color-mix(in srgb, var(--tile-colour) 12%, var(--paper));
}

.avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 24px;
  height: 24px;
  border: 2px solid var(--paper);
  border-radius: var(--radius-full);
  background-color: var(--avatar-colour, var(--role-strategy));
  color: #fff;
  font-size: 10.5px;
  font-weight: var(--weight-heavy);
}

.avatar--lg {
  width: 32px;
  height: 32px;
  border: 0;
  font-size: 12px;
}

.avatar--client {
  --avatar-colour: var(--client);
}

.avatar--person {
  --avatar-colour: var(--paper-sunken-2);
  color: var(--ink);
  font-weight: var(--weight-bold);
}

.avatar--more {
  --avatar-colour: var(--paper-sunken-2);
  color: var(--ink-secondary);
}

.avatar--ai {
  background: linear-gradient(135deg, #6d28d9, var(--accent));
}

.avatar-stack {
  display: inline-flex;
}
.avatar-stack .avatar + .avatar {
  margin-left: -6px;
}

.who {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: var(--text-sm);
}
.who small {
  display: block;
  color: var(--ink-tertiary);
  font-size: var(--text-xs);
}

.suggestion {
  padding: 10px 12px;
  border: var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 10px;
  background-color: var(--paper);
  font-size: 13px;
}
.suggestion p {
  margin: 0 0 6px;
  color: var(--ink-secondary);
}

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

.suggestion__head {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
}
.suggestion__head > :last-child {
  margin-left: auto;
}

.suggestion__title {
  margin: 6px 0 2px;
  color: var(--ink);
  font-size: var(--text-base);
  font-weight: var(--weight-bold);
}

.suggestion__diff {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 10px;
  margin: 4px 0 8px;
  padding: 8px 10px;
  border-radius: var(--radius);
  background-color: var(--paper-sunken);
  font-size: 12.5px;
}
.suggestion__diff dt {
  color: var(--ink-tertiary);
}
.suggestion__diff dd {
  margin: 0;
}
.suggestion__diff del {
  color: var(--ink-tertiary);
}
.suggestion__diff ins {
  color: var(--ink);
  font-weight: var(--weight-medium);
  text-decoration: none;
}

.suggestion__actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.suggestion--applied {
  border-left-color: var(--positive);
  background-color: var(--positive-wash);
}
.suggestion--applied .suggestion__head {
  color: var(--positive);
}

.suggestion--gone {
  border-left-color: var(--rule-strong);
  opacity: 0.55;
}

.suggestion[aria-busy=true] .suggestion__head {
  opacity: 0.7;
}

.sfw {
  position: relative;
}

.sf {
  position: relative;
  width: fit-content;
  max-width: 44rem;
  box-sizing: border-box;
  margin: 0 0 0 -13px;
  padding: 15px 12px 4px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 21px;
  line-height: 1.9;
  letter-spacing: -0.005em;
  color: var(--ink-secondary);
  text-wrap: pretty;
  transition: border-color 0.18s, background 0.18s;
}
.sf:hover, .sf:focus-within, .sf.editing {
  border-color: var(--rule-strong);
  background: var(--paper-sunken);
}

.sf-edit {
  position: absolute;
  top: -9px;
  right: 14px;
  padding: 0 6px;
  border-radius: 4px;
  background: var(--paper);
  font: 500 10.5px/16px var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-tertiary);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s;
}
.sf:hover .sf-edit, .sf:focus-within .sf-edit, .sf.editing .sf-edit {
  opacity: 1;
}

.sf .sf-t {
  position: relative;
  display: inline;
  margin: 0 -5px;
  padding: 2px 5px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  box-shadow: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  transition: box-shadow 0.18s 0.06s, background 0.18s 0.06s, color 0.18s;
}
.sf .sf-t::before {
  content: attr(data-label);
  position: absolute;
  top: -14px;
  left: 5px;
  font: 500 9.5px/1 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-tertiary);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s 0.06s;
}

.sf .sf-f {
  position: relative;
}

.sf:hover .sf-t, .sf:focus-within .sf-t, .sf.editing .sf-t {
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--rule-strong);
  color: var(--ink);
}

.sf:hover .sf-t::before, .sf:focus-within .sf-t::before, .sf.editing .sf-t::before {
  opacity: 1;
}

.sf .sf-t:hover, .sf .sf-t[aria-expanded=true], .sf .sf-t:focus-visible {
  box-shadow: inset 0 0 0 1px var(--ink-tertiary);
  outline: 0;
}

@media (hover: none) {
  .sf {
    padding-right: 12px;
  }
  .sf-edit {
    display: none;
  }
  .sf .sf-t {
    box-shadow: inset 0 -1px 0 var(--rule-strong);
  }
}
@media (prefers-reduced-motion: reduce) {
  .sf, .sf .sf-t, .sf .sf-t::before, .sf-edit {
    transition: none;
  }
}
.sf-menu {
  position: absolute;
  z-index: 60;
  width: 280px;
  box-sizing: border-box;
  padding: 6px;
  border: 1px solid var(--rule);
  border-radius: 12px;
  background: var(--paper-raised);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.14);
  font-size: 14px;
}

.sf-hd {
  padding: 6px 10px 4px;
  font: 500 10.5px var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-tertiary);
}

.sf-s {
  margin-bottom: 4px;
  padding: 4px 4px 8px;
  border-bottom: 1px solid var(--rule);
}

.sf-s input {
  width: 100%;
  box-sizing: border-box;
}

.sf-l {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.sf-o {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  box-sizing: border-box;
  padding: 8px 10px;
  border: 0;
  border-radius: 8px;
  background: none;
  text-align: left;
  text-decoration: none;
  font: 500 14px var(--font-ui);
  color: var(--ink);
  cursor: pointer;
}
.sf-o:hover {
  background: var(--paper-hover);
}
.sf-o[aria-checked=true] {
  background: var(--paper-selected);
}
.sf-o > span:last-of-type {
  flex: 1;
}

.sf-ck {
  font-style: normal;
  font-weight: 700;
  color: var(--accent);
}

.sf-drag {
  cursor: grab;
}

.pgrip {
  font-size: 10px;
  letter-spacing: -2px;
  color: var(--ink-tertiary);
}

.sf-box {
  display: grid;
  place-items: center;
  flex: none;
  width: 18px;
  height: 18px;
  padding: 0;
  border: 1.5px solid var(--rule-strong);
  border-radius: 5px;
  background: var(--paper);
  font-size: 11px;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
}
.sf-box.on {
  border-color: var(--accent);
  background: var(--accent);
}

.sf-reset {
  display: block;
  width: 100%;
  margin-top: 4px;
  padding: 9px 10px 5px;
  border: 0;
  border-top: 1px solid var(--rule);
  background: none;
  text-align: left;
  text-decoration: none;
  font: 500 12.5px var(--font-ui);
  color: var(--ink-tertiary);
  cursor: pointer;
}
.sf-reset:hover {
  color: var(--ink);
}

.mk {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 16px;
  height: 16px;
  box-sizing: border-box;
  padding: 0;
  border: 1.5px solid var(--rule-strong);
  border-radius: 50%;
  background: var(--paper);
  font: 700 10px/1 var(--font-ui);
  color: #fff;
  vertical-align: middle;
}

.mk-late {
  border-color: var(--caution-line);
}

.mk-wait {
  border-style: dashed;
  border-color: var(--ink-tertiary);
}

.mk-meet {
  border-color: var(--accent);
}

.mk-meet::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.mk-prog {
  border-color: var(--positive);
  background: conic-gradient(var(--positive) calc(var(--p) * 1%), var(--paper) 0);
}

.mk-done {
  border-color: var(--positive);
  background: var(--positive);
}

.pick {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) 64px 72px 72px;
  align-items: center;
  gap: 0 14px;
  padding: 10px 0;
  border-top: 1px solid var(--rule);
}
.pick:first-child {
  border-top: 0;
}
.pick .btn {
  width: 100%;
}

.pick__spark {
  display: flex;
  gap: 2px;
  height: 6px;
}
.pick__spark i {
  flex: 1;
  border-radius: 2px;
  background: var(--positive);
}
.pick__spark i.part {
  background: var(--caution-line);
}
.pick__spark i.none {
  background: color-mix(in srgb, var(--critical) 55%, transparent);
}

.pick__score {
  display: grid;
  place-items: center;
  height: 28px;
  border-radius: 7px;
  font: 600 12.5px var(--font-ui);
  font-variant-numeric: tabular-nums;
  color: var(--positive);
  background: var(--positive-wash);
}
.pick__score.mid {
  color: var(--caution);
  background: var(--caution-wash);
}

.pick__who {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.pick__who b {
  font-weight: var(--weight-bold);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pick__who small {
  font-size: var(--text-xs);
  color: var(--ink-tertiary);
}

.pick__share {
  box-sizing: border-box;
  height: 28px;
  padding: 0 22px 0 8px;
  border: 1px solid var(--rule-strong);
  border-radius: 7px;
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%2371717a' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 8px center;
  font: 500 12.5px var(--font-ui);
  font-variant-numeric: tabular-nums;
  text-align: right;
  color: var(--ink);
  cursor: pointer;
}

.record-head {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.record-head__name {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  max-width: min(44ch, 100%);
  padding: 2px 4px;
  margin: -2px 0;
  border: 0;
  border-radius: var(--radius-sm);
  background: none;
  color: var(--ink);
  font: var(--weight-bold) 14px/1.3 var(--font-ui);
  cursor: pointer;
}
.record-head__name span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.record-head__name:hover {
  background: var(--paper-sunken);
}
.record-head__name::after {
  content: "⌄";
  color: var(--ink-tertiary);
}

.record-head__acts {
  display: flex;
  gap: 8px;
  margin-left: auto;
}

.kv-table {
  display: grid;
  grid-template-columns: minmax(96px, 40%) minmax(0, 1fr);
  margin: 0;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.kv-table > div {
  display: contents;
}
.kv-table dt, .kv-table dd {
  padding: 8px 0;
  border-bottom: 1px solid var(--rule);
  min-width: 0;
}
.kv-table dt {
  font-weight: var(--weight-bold);
  color: var(--ink);
  padding-right: 12px;
  border-right: 1px solid var(--rule);
}
.kv-table dd {
  margin: 0;
  padding-left: 12px;
  color: var(--ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.kv-table > div:last-child > * {
  border-bottom: 0;
}

.auth {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-block: var(--space-8);
}

.auth__panel {
  width: 100%;
  max-width: 26rem;
}

.auth__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  margin-bottom: var(--space-2);
}

.auth__subtitle {
  color: var(--ink-secondary);
  margin-bottom: var(--space-6);
}

.auth__footer {
  margin-top: var(--space-6);
  padding-top: var(--space-4);
  border-top: var(--border);
  font-size: var(--text-sm);
  color: var(--ink-secondary);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: space-between;
}

.hero {
  padding-block: var(--space-9) var(--space-8);
  border-bottom: var(--border-strong);
}

.hero__title {
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  line-height: var(--leading-snug);
  letter-spacing: var(--tracking-display);
  font-size: var(--text-3xl);
  max-width: 18ch;
}

.hero__lede {
  margin-top: var(--space-5);
  font-size: var(--text-md);
  line-height: var(--leading-loose);
  color: var(--ink-secondary);
  max-width: 52ch;
}

.hero__actions {
  margin-top: var(--space-6);
}

.feature-list {
  counter-reset: feature;
  display: grid;
  gap: 0;
}
@media (min-width: 52rem) {
  .feature-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.feature {
  counter-increment: feature;
  padding: var(--space-6) var(--space-5) var(--space-6) 0;
  border-top: var(--border);
}
@media (min-width: 52rem) {
  .feature {
    padding-right: var(--space-6);
    border-top: var(--border-strong);
  }
}
.feature::before {
  content: counter(feature, decimal-leading-zero);
  display: block;
  margin-bottom: var(--space-3);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--ink-tertiary);
}
.feature__title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
}
.feature__body {
  color: var(--ink-secondary);
}

.price-grid {
  display: grid;
  gap: 0;
  border-top: var(--border-strong);
}
@media (min-width: 52rem) {
  .price-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.price {
  padding: var(--space-6) var(--space-5);
  border-bottom: var(--border);
}
@media (min-width: 52rem) {
  .price {
    border-bottom: 0;
  }
  .price:not(:last-child) {
    border-right: var(--border);
  }
  .price {
    padding-left: 0;
  }
  .price:not(:first-child) {
    padding-left: var(--space-6);
  }
}
.price__name {
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--ink-tertiary);
  margin-bottom: var(--space-4);
}
.price__amount {
  font-family: var(--font-display);
  font-weight: var(--weight-display);
  line-height: var(--leading-snug);
  letter-spacing: var(--tracking-display);
  font-size: var(--text-2xl);
}
.price__unit {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--ink-tertiary);
}
.price__features {
  margin: var(--space-5) 0;
  padding: 0;
  list-style: none;
  font-size: var(--text-sm);
}
.price__features li {
  padding: var(--space-2) 0;
  border-top: var(--border);
  color: var(--ink-secondary);
}

.admin-bar {
  background-color: var(--ink);
  color: var(--paper);
}
.admin-bar__inner {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-5);
  align-items: center;
  min-height: 3rem;
  padding-block: var(--space-2);
}
.admin-bar__title {
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--ink-tertiary);
  color: var(--paper);
  margin-right: auto;
}
.admin-bar a {
  color: var(--paper);
  font-size: var(--text-sm);
  text-decoration: none;
  opacity: 0.7;
}
.admin-bar a:hover, .admin-bar a[aria-current=page] {
  opacity: 1;
}
.admin-bar a[aria-current=page] {
  font-weight: var(--weight-bold);
}

.admin-stats {
  display: grid;
  gap: 0;
  border-top: var(--border-strong);
  border-bottom: var(--border);
  margin-bottom: var(--space-6);
}
@media (min-width: 40rem) {
  .admin-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 68rem) {
  .admin-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.admin-stats .stat {
  padding: var(--space-5) var(--space-4) var(--space-5) 0;
}
@media (min-width: 40rem) {
  .admin-stats .stat:not(:last-child) {
    border-right: var(--border);
  }
  .admin-stats .stat {
    padding-left: var(--space-4);
  }
  .admin-stats .stat:first-child {
    padding-left: 0;
  }
}

.reqsplit {
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, 1fr);
}

.reqbrk th {
  text-align: left;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text-muted, #71717a);
  padding-top: 18px;
}

tr.is-open td {
  background: var(--color-surface-sunken, #f4f4f5);
}

.reqtext {
  margin: 0 0 12px;
}

.reqfacts {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 4px 10px;
  margin: 0 0 14px;
  font-size: 13px;
}

.reqfacts dt {
  color: var(--color-text-muted, #71717a);
}

.reqfacts dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.reqprompt pre {
  white-space: pre-wrap;
  font-size: 12.5px;
  background: #fff;
  border: 1px solid #e4e4e7;
  border-radius: 8px;
  padding: 10px;
  margin: 6px 0 14px;
}

.reqacts {
  display: flex;
  gap: 8px;
}

.mailer-preview {
  max-width: 40rem;
  margin-inline: auto;
}

.sg-intro {
  max-width: var(--measure);
  color: var(--ink-secondary);
  line-height: var(--leading-loose);
}

.sg-rules {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-4);
  margin-top: var(--space-4);
}
.sg-rules li {
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--ink-tertiary);
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.sg-rules__no {
  color: var(--critical);
}

.sg-rules__yes {
  color: var(--accent);
}

.sg-toc {
  position: sticky;
  z-index: 5;
  top: 0;
  margin: var(--space-5) 0 0;
  padding-block: var(--space-2);
  background-color: var(--paper);
  border-bottom: var(--border);
}
.sg-toc .pills {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  flex-wrap: nowrap;
  padding-bottom: 2px;
}
@media (min-width: 52rem) {
  .sg-toc .pills {
    flex-wrap: wrap;
  }
}
.sg-toc .pill {
  flex: none;
}

.sg-table-demo {
  position: relative;
}
@media (min-width: 52rem) {
  .sg-table-demo {
    overflow: visible;
  }
}

.sg-section {
  padding-top: var(--space-7);
  scroll-margin-top: 3.5rem;
}

.sg-section__head {
  display: grid;
  gap: var(--space-2) var(--space-6);
  padding-bottom: var(--space-3);
  margin-bottom: var(--space-5);
  border-bottom: var(--border);
}
@media (min-width: 52rem) {
  .sg-section__head {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: end;
  }
}
.sg-section__head h2 {
  font-size: var(--text-xl);
}
.sg-section__head p {
  color: var(--ink-tertiary);
  font-size: 13px;
}

.sg-group {
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--ink-tertiary);
  margin: var(--space-6) 0 var(--space-3);
}

.sg-grid {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: repeat(auto-fill, minmax(12.5rem, 1fr));
}

.sg-swatch {
  background-color: var(--paper);
  border: var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  font-size: var(--text-xs);
}
.sg-swatch::before {
  content: "";
  display: block;
  height: 56px;
  background-color: var(--swatch);
  border-bottom: var(--border);
}
.sg-swatch code {
  background: none;
  padding: 0;
  font-size: 12px;
  color: var(--ink);
}
.sg-swatch p {
  margin-top: 4px;
  color: var(--ink-tertiary);
}

.sg-swatch__text {
  padding: 10px 12px 12px;
}

.sg-specimen {
  display: grid;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}
@media (min-width: 68rem) {
  .sg-specimen {
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  }
}

.sg-stage {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
  min-width: 0;
  padding: var(--space-5);
  border: var(--border);
  border-radius: var(--radius-lg);
}

.sg-stage--frame {
  background-color: var(--frame);
}

.sg-stage--column {
  flex-direction: column;
  align-items: stretch;
}

.sg-stage--block {
  display: block;
}

.sg-notes {
  font-size: 13px;
  color: var(--ink-secondary);
}
.sg-notes p + p {
  margin-top: var(--space-2);
}

.sg-code {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin-bottom: var(--space-2);
}
.sg-code code {
  font-size: 12px;
  color: var(--ink);
}

.sg-type {
  display: grid;
  gap: var(--space-1) var(--space-5);
  align-items: baseline;
  padding-block: var(--space-3);
  border-top: var(--border);
}
@media (min-width: 52rem) {
  .sg-type {
    grid-template-columns: 12rem minmax(0, 1fr);
  }
}

.sg-type__meta {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-tertiary);
}
.sg-type__meta code {
  background: none;
  padding: 0;
  color: var(--ink);
}

.sg-scale {
  display: grid;
  gap: 6px;
}

.sg-scale__row {
  display: grid;
  grid-template-columns: 7rem 5rem minmax(0, 1fr);
  gap: var(--space-3);
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-tertiary);
}
.sg-scale__row code {
  background: none;
  padding: 0;
  color: var(--ink);
}

.sg-scale__bar {
  height: 10px;
  width: var(--size);
  border-radius: 3px;
  background-color: var(--accent-wash);
  box-shadow: inset 0 0 0 1px var(--accent);
}

.sg-tile {
  display: grid;
  place-items: center;
  width: 9rem;
  height: 5.5rem;
  background-color: var(--paper);
  border: var(--border);
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-tertiary);
  text-align: center;
}

.sg-tile--shadow {
  border: 0;
}

.sg-where {
  max-width: var(--width-content);
}

.pt-level {
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--ink-tertiary);
  margin: calc(var(--space-2) * -1) 0 var(--space-4);
}
.pt-level a {
  color: var(--accent);
}

.pt-pattern {
  padding-bottom: var(--space-6);
  scroll-margin-top: 3.5rem;
}
.pt-pattern + .pt-pattern {
  padding-top: var(--space-5);
  border-top: var(--border);
}

.pt-pattern__name {
  display: flex;
  gap: var(--space-2);
  align-items: baseline;
  font-size: var(--text-md);
}

.pt-pattern__no {
  font-family: var(--font-mono);
  font-size: var(--text-2xs);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--ink-tertiary);
}

.pt-pattern__use {
  max-width: var(--measure);
  margin: var(--space-1) 0 var(--space-4);
  color: var(--ink-secondary);
}

.pt-frame {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: var(--border);
  border-radius: var(--radius-lg);
  background-color: var(--frame);
}

.pt-frame--fixed {
  width: fit-content;
  max-width: 100%;
}

.pt-frame__view {
  display: block;
  width: max(100%, var(--pt-w));
  height: var(--pt-h);
  border: 0;
}
.pt-frame--fixed .pt-frame__view {
  width: var(--pt-w);
}

.pt-facts {
  max-width: var(--width-content);
  margin-top: var(--space-4);
}
.pt-facts dt {
  color: var(--ink);
  font-weight: var(--weight-bold);
}
.pt-facts dd {
  font-weight: var(--weight-normal);
  text-align: left;
}

.pt-files {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
}
.pt-files code {
  font-size: 12px;
  color: var(--ink);
}

.pt-rules {
  display: grid;
  gap: var(--space-1);
  padding-left: 1.1em;
  list-style: disc;
}
