.co-page {
  --co-ink: var(--ink, #20221f);
  --co-muted: var(--muted, #6c7069);
  --co-line: var(--line, #e0e2da);
  --co-surface: #fff;
  --co-paper: #faf9f6;
  --co-serif: Georgia, "Times New Roman", serif;
  font-family: var(--font, Geist, -apple-system, sans-serif);
  color: var(--co-ink);
  width: 100%;
  min-width: 0;
  padding-bottom: 1.25rem;
}
.co-page *, .co-page *::before, .co-page *::after { box-sizing: border-box; }
.co-page button, .co-page select, .co-page input { font: inherit; }
.co-page button, .co-page select { cursor: pointer; }
.co-page button { color: inherit; }
.co-page :focus-visible { outline: 2px solid #77746c; outline-offset: 3px; }
.co-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 7px 0 36px; }
.co-page .co-header h1 { color: var(--co-ink); margin: 0; font-family: var(--co-serif); font-weight: 400; font-size: clamp(40px, 4.5vw, 62px); line-height: 1.04; letter-spacing: -.064em; }
.co-header p { margin: 11px 0 0; color: var(--co-muted); font-size: 15px; line-height: 1.55; }
.co-page .co-primary { display: inline-flex; align-items: center; justify-content: center; gap: 8px; align-self: center; flex-shrink: 0; background: #242321; color: #fff; border: 1px solid #252720; border-radius: 8px; font-size: 14px; font-weight: 500; padding: 9px 13px; min-height: 38px; }
.co-page .co-primary:hover { background: #363631; }
.co-work { min-width: 0; }
.co-toolbar { display: flex; gap: 16px; justify-content: space-between; align-items: center; margin: 0 0 15px; }
.co-controls { display: flex; gap: 8px; max-width: 100%; }
.co-search, .co-select, .co-mode { display: inline-flex; align-items: center; background: var(--co-surface); border: 1px solid var(--co-line); border-radius: 7px; min-height: 38px; }
.co-search { gap: 8px; padding: 0 10px; color: var(--co-muted); min-width: 112px; }
.co-search input { color: var(--co-ink); background: transparent; border: 0; padding: 7px 0; outline: none; width: clamp(130px,16vw,225px); font-size: 14px; }
.co-search input::placeholder { color: var(--co-muted); opacity: 1; }
.co-search:focus-within { outline: 2px solid #77746c; outline-offset: 2px; }
.co-search input:focus-visible { outline: none; }
.co-select { position: relative; }
.co-select select { appearance: none; color: var(--co-ink); border: 0; background: transparent; border-radius: inherit; padding: 8px 31px 8px 12px; min-height: 36px; font-size: 14px; max-width: 23ch; }
.co-select > svg { position: absolute; right: 10px; pointer-events: none; color: var(--co-muted); }
.co-mode { gap: 2px; padding: 3px; }
.co-mode button { display: grid; place-items: center; width: 32px; min-height: 30px; border: 0; border-radius: 4px; background: transparent; color: var(--co-muted); }
.co-mode button[aria-pressed=true] { background: #eae9e5; color: #292825; }
.co-mode button:hover { background: #f4f3f0; }
.co-tabs { display: flex; align-items: flex-end; overflow-x: auto; white-space: nowrap; border-bottom: 1px solid var(--co-line); margin: 0 0 20px; gap: 21px; scrollbar-width: thin; }
.co-page .co-tab { padding: 0 1px 11px; margin: 0; border: 0; border-bottom: 2px solid transparent; background: transparent; font-size: 14px; font-weight: 450; color: var(--co-muted); }
.co-tab span { margin-left: 5px; color: var(--co-muted); font: 12px/1.3 var(--mono, GeistMono, monospace); }
.co-page .co-tab.active { color: var(--co-ink); border-bottom-color: var(--co-ink); }
.co-tab.active span { color: var(--co-ink); }
.co-results { min-width: 0; }
.co-panel { border-block: 1px solid var(--co-line); background: var(--co-surface); overflow: hidden; }
.co-table { width: 100%; border-collapse: collapse; font-size: 14px; text-align: left; }
.co-table thead { background: var(--co-paper); }
.co-table th { font: 12px/1.5 var(--mono, GeistMono, monospace); letter-spacing: .01em; padding: 12px 13px; border-bottom: 1px solid var(--co-line); color: var(--co-muted); }
.co-table td { padding: 19px 13px; border-bottom: 1px solid var(--co-line); vertical-align: middle; }
.co-table th:first-child, .co-table td:first-child { padding-left: 19px; }
.co-table td:last-child, .co-table th:last-child { padding-right: 19px; }
.co-table tr:last-child td { border-bottom: 0; }
.co-table tbody tr, .co-signal-row { cursor: pointer; transition: background-color .15s ease; }
.co-table tbody tr:hover, .co-signal-row:hover { background: #f8f7f4; }
.co-identity { display: flex; align-items: center; gap: 13px; }
.co-identity > :first-child { flex-shrink: 0; }
.co-identity > div:last-child { min-width: 0; }
.co-identity small, .co-board-identity small { display: block; font-size: 12px; line-height: 1.45; color: var(--co-muted); margin-top: 3px; }
.co-page .co-open { appearance: none; border: 0; padding: 0; background: none; text-align: left; font-weight: 500; font-size: 15px; line-height: 1.4; letter-spacing: -.024em; color: var(--co-ink); }
.co-open:hover, .co-related:hover { text-decoration: underline; text-underline-offset: 3px; }
.co-stage { white-space: nowrap; }
.co-type { color: var(--co-muted); }
.co-money { font-variant-numeric: tabular-nums; white-space: nowrap; }
.co-next { font-size: 14px; color: var(--co-muted); line-height: 1.5; width: 24%; }
.co-board { display: grid; grid-auto-columns: minmax(196px, 1fr); grid-auto-flow: column; gap: 10px; overflow-x: auto; padding: 1px 0 12px; overscroll-behavior-x: contain; }
.co-col { min-height: 230px; min-width: 0; border: 1px solid var(--co-line); border-radius: 8px; background: var(--co-paper); padding: 10px; }
.co-col-head, .co-board-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.co-col-head { padding: 2px 2px 12px; }
.co-col-head > span:last-child { color: var(--co-muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.co-page .co-board-deal { display: block; width: 100%; text-align: left; padding: 12px; border: 1px solid var(--co-line); border-radius: 8px; background: var(--co-surface); }
.co-board-deal + .co-board-deal { margin-top: 8px; }
.co-board-deal:hover { border-color: #b8b6af; }
.co-board-identity { display: flex; align-items: center; gap: 8px; }
.co-board-identity strong { font-weight: 550; font-size: 14px; }
.co-board-meta { margin-top: 15px; font-size: 12px; color: var(--co-muted); }
.co-board-meta b { color: var(--co-ink); font-weight: 500; }
.co-col-empty { font-size: 13px; color: var(--co-muted); margin: 4px 3px; }
.co-pill, .co-page .stage-pill { display: inline-flex; gap: 6px; align-items: center; border: 0; border-radius: 0; padding: 3px 0; background: transparent; color: #53514c; font-size: 13px; font-weight: 400; line-height: 1.35; white-space: nowrap; }
.co-pill i { width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: .75; }
.co-pill.draft i { background: #898780; }
.co-pill.sent i, .co-pill.pending i { background: #a9783b; }
.co-pill.signed i { background: #4e7656; }
.co-signal-row { display: flex; gap: 18px; padding: 25px 22px; justify-content: space-between; border-bottom: 1px solid var(--co-line); }
.co-signal-row:last-child { border: 0; }
.co-signal-core { min-width: 0; }
.co-sources { display: flex; align-items: center; gap: 7px; min-height: 22px; margin-bottom: 9px; flex-wrap: wrap; }
.co-source-time { color: var(--co-muted); font-size: 12px; line-height: 1.4; }
.co-signal-row .co-open { font-family: var(--co-serif); font-size: clamp(22px, 1.8vw, 28px); font-weight: 400; line-height: 1.15; letter-spacing: -.042em; }
.co-signal-row p { margin: 8px 0 0; color: var(--co-muted); font-size: 15px; line-height: 1.55; max-width: 72ch; }
.co-deal-ref { display: flex; align-items: center; gap: 7px; margin-top: 12px; color: var(--co-muted); font-size: 12px; line-height: 1.4; }
.co-deal-ref span { color: #aaa69c; }
.co-signal-tail { align-items: center; align-self: center; display: flex; gap: 10px; color: var(--co-muted); }
.co-paper { display: flex; flex-direction: column; justify-content: center; gap: 3px; width: 29px; height: 37px; border: 1px solid #cfcdc6; border-radius: 2px; background: linear-gradient(125deg,#fff,#f5f4ef); padding: 5px; box-shadow: 1px 2px 0 #e8e6df; }
.co-paper i { width: 100%; height: 1px; background: #c5c2b8; }
.co-paper i:first-child { width: 66%; height: 2px; margin-bottom: 2px; background: #868379; }
.co-paper i:last-child { width: 74%; }
.co-associated, .co-date { color: var(--co-muted); }
.co-date { font-size: 13px; white-space: nowrap; }
.co-timeline { max-width: 820px; }
.co-timeline > section + section { margin-top: 24px; }
.co-timeline h2 { font-family: var(--co-serif); font-size: 24px; line-height: 1.18; letter-spacing: -.039em; margin: 0 0 14px; font-weight: 400; }
.co-events { background: var(--co-surface); border-block: 1px solid var(--co-line); padding: 2px 16px; }
.co-event { display: flex; gap: 13px; padding: 16px 0; position: relative; }
.co-event + .co-event { border-top: 1px solid var(--co-line); }
.co-event-mark { display: grid; margin-top: 2px; place-items: center; flex-shrink: 0; width: 30px; height: 30px; color: #605e58; background: #f3f2ee; border-radius: 6px; }
.co-event-body { flex: 1; min-width: 0; }
.co-event-time { float: right; font-size: 12px; color: var(--co-muted); margin: 1px 0 4px 10px; font-variant-numeric: tabular-nums; }
.co-event h3 { font-size: 15px; font-weight: 550; margin: 0; line-height: 1.4; letter-spacing: -.025em; }
.co-event p { margin: 4px 0 0; font-size: 14px; color: var(--co-muted); line-height: 1.5; }
.co-page .co-related { display: inline-flex; align-items: center; gap: 4px; border: 0; border-radius: 0; padding: 0; margin-top: 8px; background: transparent; color: #494740; font-size: 13px; font-weight: 500; }
.co-empty { display: grid; gap: 7px; padding: 42px 14px; justify-items: center; text-align: center; color: var(--co-muted); border: 1px dashed var(--co-line); border-radius: 10px; font-size: 14px; }
.co-empty svg { color: #7f7d75; margin-bottom: 4px; }
.co-empty strong { font-size: 17px; color: var(--co-ink); font-weight: 500; }
.co-empty button { padding: 6px 9px; margin-top: 5px; border-radius: 6px; border: 1px solid var(--co-line); background: var(--co-surface); }
@media (max-width: 1050px) and (min-width: 701px) {
  .co-deals .co-next, .co-deals th:last-child { display: none; }
}
@media (max-width: 700px) {
  .co-header { margin: 5px 0 25px; gap: 11px; }
  .co-page .co-header h1 { font-size: clamp(37px,8.6vw,47px); }
  .co-header p { margin-top: 5px; font-size: 14px; }
  .co-page .co-primary { padding: 8px 10px; min-height: 44px; }
  .co-toolbar { margin-bottom: 12px; gap: 8px; align-items: stretch; }
  .co-controls { flex: 1; gap: 6px; min-width: 0; }
  .co-search { min-height: 44px; min-width: 88px; flex: 1; }
  .co-search svg { flex: 0 0 auto; }
  .co-search input { flex: 1; width: 100%; min-width: 0; font-size: 16px; }
  .co-select select { min-height: 44px; padding-left: 10px; padding-right: 26px; font-size: 16px; max-width: min(180px,41vw); }
  .co-select > svg { right: 6px; }
  .co-mode { gap: 0; padding: 0; }
  .co-mode button { width: 44px; min-height: 44px; }
  .co-page[data-collection=pipeline] .co-toolbar { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px; }
  .co-page[data-collection=pipeline] .co-controls { display: contents; }
  .co-page[data-collection=pipeline] .co-search { grid-column: 1 / -1; }
  .co-page[data-collection=pipeline] .co-select { justify-self: start; }
  .co-tabs { margin: 0 0 13px; gap: 17px; }
  .co-page .co-tab { min-height: 44px; padding-bottom: 7px; }
  .co-panel { border-radius: 0; }
  .co-table, .co-table tbody { display: block; }
  .co-table thead { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; }
  .co-table tbody tr { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 7px 10px; padding: 18px 7px; border-bottom: 1px solid var(--co-line); }
  .co-table tbody tr:last-child { border: 0; }
  .co-table th, .co-table td, .co-table td:first-child, .co-table td:last-child { border: 0; padding: 0; width: auto; }
  .co-table tr td:first-child { grid-column: 1; grid-row: 1 / span 2; }
  .co-deals .co-stage { text-align: right; grid-column: 2; grid-row: 1; }
  .co-deals .co-type, .co-docs .co-date { display: none; }
  .co-deals .co-next { grid-column: 1 / -1; grid-row: 3; padding: 3px 0 0 42px; color: var(--co-muted); font-size: 14px; line-height: 1.45; }
  .co-deals .co-next::before { content: 'Next'; color: var(--co-ink); margin-right: 7px; font-weight: 500; }
  .co-deals .co-money { grid-column: 2; grid-row: 2; text-align: right; font-size: 14px; color: var(--co-muted); }
  .co-identity { gap: 8px; }
  .co-identity small { font-size: 13px; }
  .co-docs .co-associated { grid-column: 2; grid-row: 2; text-align: right; font-size: 12px; }
  .co-docs .co-docstatus { grid-column: 2; grid-row: 1; text-align: right; }
  .co-board { grid-auto-columns: min(77vw, 270px); scroll-snap-type: x proximity; }
  .co-col { scroll-snap-align: start; min-height: 205px; }
  .co-signal-row { padding: 20px 8px; flex-direction: column; gap: 10px; }
  .co-signal-tail { align-self: flex-start; }
  .co-signal-tail > svg { display: none; }
  .co-signal-row .co-open { font-size: 24px; }
  .co-signal-row p { margin-top: 4px; }
  .co-sources { gap: 5px; margin-bottom: 7px; }
  .co-deal-ref { margin-top: 8px; }
  .co-events { padding: 1px 13px; }
  .co-event { gap: 9px; }
  .co-event-time { font-size: 12px; }
  .co-related, .co-empty button { min-height: 44px; }
  .co-page .co-related { margin-top: 0; }
  .co-tab { min-width: 44px; }
  .co-table tr, .co-signal-row { position: relative; }
  .co-open::after { position: absolute; inset: 0; content: ''; }
}
@media (max-width: 480px) {
  .co-docs tbody tr { grid-template-columns: minmax(0, 1fr) auto; }
  .co-docs tr td:first-child { grid-column: 1 / -1; grid-row: 1; }
  .co-docs .co-associated { grid-column: 1; grid-row: 2; text-align: left; margin-left: 37px; font-size: 13px; }
  .co-docs .co-docstatus { grid-column: 2; grid-row: 2; }
}
@media (prefers-reduced-motion: reduce) {
  .co-page *, .co-page *::before, .co-page *::after { transition: none !important; }
}

/* Editorial stage ledger: unframed columns, framed deal records only. */
.co-board { grid-auto-columns: minmax(244px, 1fr); gap: 18px; scroll-padding-inline: 2px; }
.co-col { padding: 0; border: 0; border-radius: 0; background: transparent; min-height: 350px; }
.co-col-head { display: grid; grid-template-columns: 1fr auto; gap: 5px 12px; padding: 12px 2px; border-top: 1px solid var(--co-ink); border-bottom: 1px solid var(--co-line); }
.co-col-head h2 { margin: 0; font: 400 20px/1.3 var(--co-serif); letter-spacing: 0; }
.co-col-head small { grid-column: 1 / -1; color: var(--co-muted); font: 12px/1.4 var(--mono); }
.co-dropzone { min-height: 280px; padding: 14px 2px; }
.co-page .co-board-deal { position: relative; padding: 0; cursor: grab; }
.co-card-open { width: 100%; text-align: left; padding: 14px 12px 8px; display: block; border: 0; background: transparent; }
.co-board-identity > span { min-width: 0; }
.co-board-identity strong, .co-board-identity small, .co-card-contact { overflow-wrap: anywhere; }
.co-board-identity strong { letter-spacing: 0; }
.co-card-contact { display: grid; gap: 3px; margin-top: 10px; font-size: 12px; color: var(--co-muted); }
.co-move { padding: 0 10px 6px; cursor: default; }
.co-move summary { display: flex; align-items: center; justify-content: space-between; min-height: 44px; list-style: none; font-size: 13px; cursor: pointer; }
.co-move summary::-webkit-details-marker { display: none; }
.co-move-options { border-top: 1px solid var(--co-line); padding-top: 10px; font-size: 13px; }
.co-move-options label { display: grid; gap: 5px; color: var(--co-muted); }
.co-move-options select { width: 100%; min-height: 44px; border: 1px solid var(--co-line); border-radius: 4px; background: var(--co-surface); color: var(--co-ink); padding: 0 8px; }
.co-move-options button { min-height: 44px; background: transparent; border: 0; text-align: left; }
.co-move-options > button { display: flex; width: 100%; justify-content: space-between; align-items: center; }
.co-move-options > div { display: flex; justify-content: space-between; gap: 8px; }
.co-move-options button:disabled { color: var(--co-muted); cursor: default; opacity: .5; }
.co-dragging { opacity: .45; }
.co-drag-over .co-dropzone { outline: 1px dashed var(--co-muted); outline-offset: -1px; background: var(--co-paper); }
.co-drop-before::before, .co-drop-after::after { content: ''; position: absolute; inset-inline: 0; height: 2px; background: var(--co-ink); }
.co-drop-before::before { top: -6px; }
.co-drop-after::after { bottom: -6px; }
.co-board .co-col-empty { min-height: 150px; padding-top: 12px; }
.co-board .co-open::after { content: none; }
@media (max-width: 700px) {
  .co-board { grid-auto-columns: min(82vw, 310px); scroll-snap-type: x mandatory; }
  .co-col { scroll-snap-align: start; }
  .co-card-open { min-height: 44px; }
  .co-move-options select { font-size: 16px; }
}
