@font-face {
  font-family: "General Sans";
  src: url("/static/general-sans-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "General Sans";
  src: url("/static/general-sans-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "General Sans";
  src: url("/static/general-sans-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "General Sans";
  src: url("/static/general-sans-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
* {
  box-sizing: border-box;
}
:root {
  --ink: #0a0a0a;
  --paper: #fafafa;
  --line: #e0e0e0;
  --muted: #626262;
  --green: #146c2e;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    "General Sans",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-size: 14px;
  line-height: 1.5;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  touch-action: manipulation;
}
:focus-visible {
  outline: 2px solid #146c2e;
  outline-offset: 4px;
}
button {
  cursor: pointer;
  border: 1px solid var(--line);
  background: white;
  padding: 8px 12px;
  border-radius: 5px;
  color: var(--ink);
}
button:hover {
  background: #f1f1f1;
}
.sidebar {
  width: 232px;
  background: #0a0a0a;
  color: #fafafa;
  position: fixed;
  inset: 0 auto 0 0;
  display: flex;
  flex-direction: column;
  padding: 22px 20px 16px;
  overflow: hidden;
}
.brand {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.8px;
  padding: 0 12px;
}
.brand > span {
  display: block;
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -1.8px;
}
.brand-dot {
  font-size: 10px;
  vertical-align: top;
  margin-left: 9px;
}
.instance {
  font:
    9px ui-monospace,
    monospace;
  letter-spacing: 1px;
  margin: 18px 12px 20px;
  color: #b5b5b5;
}
.live-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  background: #fafafa;
  border-radius: 50%;
  margin-right: 8px;
}
nav {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
nav a {
  padding: 11px 12px;
  border-radius: 5px;
  color: #ccc;
  display: flex;
  gap: 12px;
  font-size: 13px;
}
nav a span {
  font:
    10px ui-monospace,
    monospace;
  color: #939393;
  align-self: center;
  width: 16px;
}
nav a:hover,
nav a[aria-current] {
  background: #242424;
  color: white;
  text-decoration: none;
}
.nav-label {
  font:
    9px ui-monospace,
    monospace;
  letter-spacing: 1.3px;
  color: #999;
  margin: 24px 12px 7px;
}
.sidebar > .brand,
.sidebar > .instance,
.sidebar-bottom {
  flex-shrink: 0;
}
.sidebar > nav {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}
.sidebar > nav > * {
  flex-shrink: 0;
}
.sidebar-bottom {
  margin-top: 12px;
  border-top: 1px solid #333;
  padding-top: 12px;
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 12px;
}
.avatar {
  width: 32px;
  height: 32px;
  border: 1px solid #555;
  display: grid;
  place-items: center;
  border-radius: 50%;
}
small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
}
.sidebar-bottom small {
  color: #aaa;
  font-size: 10px;
}
.sidebar-bottom {
  flex-wrap: wrap;
}
.sidebar-bottom > div:nth-child(2) {
  flex: 1;
  min-width: 0;
}
.sidebar-bottom strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sidebar-bottom form {
  width: 100%;
}
.sidebar-bottom .logout {
  width: 100%;
  text-align: left;
  border: 1px solid #444;
}
.sidebar-bottom .logout:hover {
  background: #242424;
}
.logout {
  color: white;
  background: none;
  border: 0;
}
main {
  margin-left: 232px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.topbar {
  display: flex;
  justify-content: space-between;
  padding: 22px 42px;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  color: var(--muted);
}
.mono,
.eyebrow,
.tag {
  font-family: ui-monospace, SFMono-Regular, monospace;
}
.security {
  margin-left: 22px;
  font-size: 9px;
}
.content {
  padding: 40px 42px 50px;
  flex: 1;
  max-width: 1550px;
  width: 100%;
  margin: 0 auto;
}
.eyebrow {
  display: block;
  font-size: 10px;
  letter-spacing: 1.6px;
  color: var(--muted);
  margin-bottom: 14px;
}
h1 {
  font-size: clamp(30px, 3.5vw, 49px);
  font-weight: 500;
  letter-spacing: -2px;
  line-height: 1.12;
  margin: 0 0 16px;
}
h2 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.45px;
  margin: 0 0 12px;
}
h3 {
  font-size: 15px;
  margin: 14px 0 8px;
}
.muted {
  color: var(--muted);
}
.period {
  color: #929292;
}
.page-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}
.page-heading p {
  max-width: 620px;
  margin-bottom: 0;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 12px 16px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  background: white;
}
.button:hover {
  text-decoration: none;
  background: #e9e9e9;
}
.button.primary {
  background: var(--ink);
  color: white;
  border-color: var(--ink);
}
.button.primary:hover {
  background: #303030;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 34px;
}
.stats > div {
  padding: 22px 24px 22px 0;
  margin-right: 24px;
  border-right: 1px solid var(--line);
}
.stats > div:last-child {
  border-right: 0;
}
.stats span {
  font-size: 12px;
  color: var(--muted);
}
.stats strong {
  display: block;
  font-size: 44px;
  letter-spacing: -2px;
  line-height: 1.2;
  font-weight: 500;
  margin-top: 12px;
}
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}
.three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 7px;
  min-width: 0;
}
.panel.compact {
  padding: 26px;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 28px 0 18px;
}
.section-heading h2 {
  margin: 0;
}
.section-heading > a {
  font-size: 12px;
}
.panel > .section-heading {
  margin: 0;
  padding: 22px;
  border-bottom: 1px solid var(--line);
}
.tag {
  font-size: 8px;
  color: var(--muted);
  letter-spacing: 1px;
}
.action-row {
  display: flex;
  gap: 14px;
  padding: 19px 22px;
  border-bottom: 1px solid #eee;
  align-items: center;
  background: white;
}
.action-row:hover {
  background: #f7f7f7;
  text-decoration: none;
}
.action-row div {
  flex: 1;
}
.action-row strong {
  font-size: 12px;
  font-weight: 500;
}
.action-row time {
  font:
    10px ui-monospace,
    monospace;
  color: var(--muted);
  white-space: nowrap;
}
.action-icon {
  width: 29px;
  height: 29px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #555;
}
.empty {
  padding: 30px;
  color: var(--muted);
}
.empty > span {
  font-size: 30px;
}
.empty h3 {
  color: var(--ink);
}
.empty p {
  font-size: 12px;
}
.table-wrap {
  overflow-x: auto;
  background: white;
  border: 1px solid var(--line);
  border-radius: 6px;
}
table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 12px;
}
th {
  font:
    9px ui-monospace,
    monospace;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  color: var(--muted);
  background: #f5f5f5;
  padding: 15px 20px;
  white-space: nowrap;
}
td {
  padding: 19px 20px;
  border-top: 1px solid #eee;
  max-width: 330px;
}
tr:hover td {
  background: #fbfbfb;
}
.strong {
  font-weight: 600;
}
.status {
  font-size: 10px;
  border: 1px solid #ddd;
  padding: 5px 9px;
  border-radius: 4px;
  white-space: nowrap;
  background: #f5f5f5;
}
.status-won {
  color: #146c2e;
  background: #eef6ef;
  border-color: #cde2d0;
}
.status-proposal,
.status-qualified {
  background: #f0f0f0;
  border-color: #bbb;
}
.status-lost {
  color: #9b2424;
  background: #fff2f2;
}
.empty-cell {
  padding: 35px;
  color: var(--muted);
}
.filters {
  display: flex;
  gap: 12px;
  margin: 20px 0;
  align-items: center;
  flex-wrap: wrap;
}
.filters input {
  max-width: 320px;
  margin: 0;
}
.filters select {
  max-width: 230px;
  margin: 0;
}
.filters .muted {
  margin-left: auto;
  font-size: 11px;
}
.company-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 24px 0;
}
.company-card {
  border: 1px solid var(--line);
  background: white;
  padding: 24px;
  border-radius: 6px;
}
.company-card:hover {
  text-decoration: none;
  border-color: #777;
}
.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--muted);
  margin-bottom: 28px;
}
.company-initial {
  font-size: 24px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
}
.company-card h2 {
  margin-bottom: 5px;
}
.company-card p {
  font-size: 12px;
  color: var(--muted);
}
.card-bottom {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 15px;
  margin-top: 25px;
  font-size: 9px;
  color: var(--muted);
}
.editor {
  max-width: 850px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 30px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.wide {
  grid-column: 1/-1;
}
label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: #444;
}
input,
select,
textarea {
  display: block;
  width: 100%;
  border: 1px solid #cfcfcf;
  border-radius: 4px;
  padding: 11px 12px;
  background: #fff;
  color: var(--ink);
  margin: 7px 0 12px;
  min-height: 42px;
}
textarea {
  resize: vertical;
}
.checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0;
}
.checkbox input {
  width: auto;
  min-height: 0;
  margin: 0;
}
.form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.back {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 25px;
}
.message {
  padding: 16px 20px;
  background: #f0f5ef;
  border: 1px solid #c9d8c6;
  margin-bottom: 24px;
  border-radius: 5px;
}
.message.error,
.errorlist {
  background: #fff4f4;
  color: #9b2424;
}
.errorlist {
  padding: 12px 24px;
  font-size: 12px;
  border-radius: 4px;
}
.fine {
  font-size: 11px;
  color: var(--muted);
  margin-top: 20px;
}
.divider {
  height: 1px;
  background: var(--line);
  margin: 24px 0;
}
.prose {
  line-height: 1.8;
  overflow-wrap: anywhere;
}
.text-link {
  display: block;
  margin-top: 20px;
  font-size: 12px;
  text-decoration: underline;
}
.task {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}
.inline-form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
}
.inline-form input {
  max-width: 155px;
  font-size: 11px;
  padding: 7px;
  margin: 0;
}
.inline-form button {
  font-size: 10px;
  padding: 7px;
}
.timeline {
  border-left: 1px solid #ccc;
  padding-left: 24px;
  margin-left: 5px;
}
.timeline article {
  position: relative;
  padding: 5px 0 28px;
}
.timeline-dot {
  position: absolute;
  left: -29px;
  top: 8px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #0a0a0a;
  border: 2px solid #fafafa;
}
pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  max-width: 100%;
  font-size: 11px;
}
.secret {
  display: block;
  overflow-wrap: anywhere;
  margin-top: 12px;
  font-size: 13px;
}
footer {
  padding: 22px 42px;
  border-top: 1px solid var(--line);
  font:
    9px ui-monospace,
    monospace;
  letter-spacing: 1px;
  color: var(--muted);
}
footer span {
  float: right;
  letter-spacing: 0;
}
.login-main {
  margin: 0;
}
.login-main .content {
  padding: 0;
  max-width: none;
}
.login-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  min-height: calc(100vh - 58px);
}
.login-story {
  padding: 55px 70px;
  background: #0a0a0a;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.wordmark {
  font-weight: 700;
  font-size: 27px;
  letter-spacing: -1px;
  margin-bottom: 70px;
}
.login-story .eyebrow {
  color: #aaa;
}
.login-story h1 {
  font-size: clamp(50px, 6vw, 85px);
  letter-spacing: -4px;
  margin: 12px 0 32px;
}
.login-story em {
  font-style: normal;
  color: #aaa;
}
.login-story p {
  max-width: 330px;
  color: #bbb;
  line-height: 1.8;
}
.login-rule {
  border-top: 1px solid #444;
  padding-top: 25px;
  margin-top: 55px;
  font-size: 11px;
  color: #aaa;
}
.login-form {
  padding: 60px;
  max-width: 530px;
  align-self: center;
}
.login-form h2 {
  font-size: 30px;
  letter-spacing: -1px;
}
.login-form form {
  margin-top: 32px;
}
.login-form .button {
  width: 100%;
  justify-content: space-between;
}
.login-form p {
  line-height: 1.7;
}
@media (min-width: 1450px) {
  .content {
    padding: 50px 65px;
  }
  .topbar {
    padding-left: 65px;
    padding-right: 65px;
  }
}
@media (max-width: 1100px) {
  .sidebar {
    width: 200px;
    padding-left: 12px;
    padding-right: 12px;
  }
  main {
    margin-left: 200px;
  }
  .content {
    padding: 28px;
  }
  .topbar {
    padding: 18px 28px;
  }
  .company-grid,
  .three-col {
    grid-template-columns: repeat(2, 1fr);
  }
  .two-col {
    gap: 16px;
  }
  .tag {
    display: none;
  }
  .page-heading {
    align-items: flex-start;
  }
  .security {
    display: none;
  }
  .login-story {
    padding: 40px;
  }
  .login-form {
    padding: 35px;
  }
}
@media (max-width: 760px) {
  .sidebar {
    position: static;
    width: 100%;
    padding: 16px;
  }
  .brand {
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
  }
  .brand > span {
    font-size: 25px;
  }
  .instance,
  .nav-label {
    display: none;
  }
  .sidebar > nav {
    flex: none;
    overflow-y: hidden;
  }
  .sidebar-bottom {
    flex-wrap: nowrap;
  }
  .sidebar-bottom form {
    width: auto;
  }
  nav {
    flex-direction: row;
    overflow-x: auto;
    margin-top: 18px;
  }
  nav a {
    white-space: nowrap;
    padding: 9px;
  }
  nav a span {
    display: none;
  }
  main {
    margin: 0;
  }
  .topbar {
    padding: 15px 20px;
  }
  .topbar > span:first-child {
    display: none;
  }
  .content {
    padding: 26px 20px;
  }
  .page-heading {
    flex-wrap: wrap;
    gap: 18px;
  }
  h1 {
    letter-spacing: -1.4px;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
  }
  .stats > div {
    padding: 17px;
    margin: 0;
    border-bottom: 1px solid var(--line);
  }
  .stats strong {
    font-size: 35px;
  }
  .two-col,
  .three-col,
  .company-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }
  .editor {
    padding: 20px;
  }
  .wide {
    grid-column: auto;
  }
  .filters input,
  .filters select {
    max-width: none;
  }
  .filters .muted {
    margin-left: 0;
  }
  footer {
    padding: 20px;
  }
  .login-layout {
    grid-template-columns: 1fr;
  }
  .login-story {
    padding: 35px;
  }
  .wordmark {
    margin-bottom: 25px;
  }
  .login-story h1 {
    font-size: 50px;
    letter-spacing: -2px;
  }
  .login-story h1 br {
    display: none;
  }
  .login-story p,
  .login-rule {
    display: none;
  }
  .login-form {
    padding: 35px 25px;
  }
  .button {
    min-height: 42px;
  }
  .panel.compact {
    padding: 21px;
  }
}
