/* The board's one stylesheet. Every value is the approved design's
   (artifact bd18d378, "The board"): dark only, IBM Plex, amber for the
   one thing that matters on a screen, mono for anything counted. */
:root {
  --bg: #0E0E10;
  --panel: #17171A;
  --panel-deep: #121215;
  --panel-table: #131316;
  --line: #1F1F26;
  --line-2: #23232A;
  --line-3: #2A2A31;
  --line-amber: #3A3020;
  --text: #EDEDF0;
  --body: #C8C8D0;
  --dim: #9A9AA5;
  --mute: #6E6E78;
  --faint: #55555E;
  --amber: #F0B429;
  --amber-hover: #FFC94D;
  --amber-wash: rgba(240, 180, 41, 0.14);
  --on-amber: #14120C;
  --green: #4ADE80;
  --red: #F87171;
  --red-wash: rgba(248, 113, 113, 0.08);
  --red-line: rgba(248, 113, 113, 0.28);
  --sans: 'IBM Plex Sans', 'Segoe UI', Helvetica, Arial, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
  --r-s: 9px;
  --r-m: 12px;
  --r-l: 14px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--sans); font-size: 16px; line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--amber); text-decoration: none; }
a:hover { color: var(--amber-hover); }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; border-radius: 4px; }
@media (prefers-reduced-motion: no-preference) {
  a, button, .pill { transition: color .12s, background-color .12s, border-color .12s; }
}
.mono { font-family: var(--mono); }
.label {
  font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--mute);
}
.button, button.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px; border-radius: var(--r-s); font: inherit;
  font-size: 17px; cursor: pointer; border: 1px solid var(--line-3);
  background: var(--panel); color: var(--text);
}
.button.primary { background: var(--amber); border-color: var(--amber); color: var(--on-amber); font-weight: 500; padding: 0 30px; }
.button.primary:hover { background: var(--amber-hover); color: var(--on-amber); }
.button.quiet { background: none; border-color: transparent; color: var(--amber); padding: 0 22px; }
.button[disabled] { opacity: .45; cursor: not-allowed; }
.linkish { background: none; border: 0; padding: 0; font: inherit; color: var(--dim); cursor: pointer; }
.linkish:hover { color: var(--text); }

/* header */
.top {
  height: 76px; border-bottom: 1px solid var(--line); padding: 0 40px;
  display: flex; align-items: center; gap: 36px;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); font-size: 18px; font-weight: 500; letter-spacing: -.01em; }
.brand img { width: 24px; height: 24px; }
.switch { display: flex; gap: 4px; background: var(--panel); border: 1px solid var(--line-2); border-radius: 10px; padding: 4px; }
.switch a { height: 40px; display: flex; align-items: center; padding: 0 20px; border-radius: 7px; color: var(--dim); }
.switch a.on { background: var(--line-3); color: var(--text); font-weight: 500; }
.spacer { flex-grow: 1; }
.health { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--dim); }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--faint); }
.dot.green { background: var(--green); }
.dot.red { background: var(--red); }
.top .stamp { font-family: var(--mono); font-size: 14px; color: var(--mute); }
.top .nav { color: var(--dim); }
.top .nav:hover { color: var(--text); }

/* login */
.door { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 40px 20px; }
.door > div { width: 480px; max-width: 100%; display: flex; flex-direction: column; gap: 40px; }
.door .brand { font-size: 24px; gap: 14px; }
.door .brand img { width: 30px; height: 30px; }
.door .strap { font-size: 17px; color: var(--dim); }
.card-form {
  display: flex; flex-direction: column; gap: 22px; background: var(--panel);
  border: 1px solid var(--line-3); border-radius: var(--r-l); padding: 36px 34px;
}
.field { display: flex; flex-direction: column; gap: 10px; }
.field label { font-size: 14px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.field input, .field textarea, .field select {
  background: var(--bg); border: 1px solid var(--line-3); border-radius: var(--r-s);
  padding: 0 16px; font: inherit; font-size: 18px; color: var(--text); height: 52px;
}
.field input:focus, .field textarea:focus { border-color: var(--amber); outline: none; }
.field input[type=password] { font-family: var(--mono); letter-spacing: .22em; }
.alert {
  display: flex; gap: 12px; align-items: flex-start; background: var(--red-wash);
  border: 1px solid var(--red-line); border-radius: var(--r-s); padding: 14px 16px;
  font-size: 15px; line-height: 1.55;
}
.alert svg { flex-shrink: 0; margin-top: 1px; }
.alert .more { color: var(--dim); }
.foot { font-size: 14px; color: var(--mute); line-height: 1.6; }

/* board frame */
main { padding: 30px 40px 40px; }
@media (max-width: 720px) {
  .top { padding: 0 20px; gap: 16px; height: auto; min-height: 64px; flex-wrap: wrap; }
  .top .stamp, .switch { display: none; }
  main { padding: 20px; }
}

/* criteria bar */
.bar {
  margin: -30px -40px 0; padding: 22px 40px; background: var(--panel-deep);
  border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.bar .label { font-size: 13px; letter-spacing: .12em; font-weight: 500; }
.bar .mute { color: var(--dim); font-size: 16px; }
.pills { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.pill {
  height: 44px; display: inline-flex; align-items: center; gap: 10px; background: var(--panel);
  border: 1px solid var(--line-3); border-radius: var(--r-s); padding: 0 16px; color: var(--text);
}
.pill .k { font-size: 15px; color: var(--dim); }
.pill .v { font-size: 16px; }
.pill .v.unset { color: var(--mute); }
.pill .v.amber, .amber { color: var(--amber); }
.pill.act { color: var(--amber); cursor: pointer; list-style: none; }
.pill.act::-webkit-details-marker { display: none; }
.edit[open] .pill.act { border-color: var(--amber); }
.edit { position: relative; }
.sheet {
  position: absolute; z-index: 5; top: 54px; left: 0; width: 520px; max-width: calc(100vw - 40px);
  background: var(--panel); border: 1px solid var(--line-3); border-radius: var(--r-l); padding: 28px;
}
.criteria-form { display: flex; flex-direction: column; gap: 22px; }
.criteria-form fieldset { border: 0; padding: 0; margin: 0; }
.criteria-form legend, .criteria-form .field > label:not(.check) { font-size: 14px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); margin-bottom: 8px; }
.check { display: flex; align-items: center; gap: 10px; font-size: 16px; text-transform: none; letter-spacing: 0; color: var(--text); padding: 6px 0; }
.check input { width: 18px; height: 18px; accent-color: var(--amber); }
.hint { font-size: 14px; color: var(--mute); line-height: 1.5; }
.actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.numbers { font-size: 14px; color: var(--mute); }

/* views */
.views { height: 62px; margin: 0 -40px; padding: 0 40px; border-bottom: 1px solid var(--line); display: flex; align-items: stretch; gap: 32px; overflow-x: auto; }
.views a { display: flex; align-items: center; gap: 9px; font-size: 17px; color: var(--dim); border-bottom: 2px solid transparent; white-space: nowrap; }
.views a .mono { font-size: 14px; color: var(--mute); }
.views a.on { color: var(--text); font-weight: 500; border-bottom-color: var(--amber); }
.views a.on .mono { color: var(--dim); }
.notice { margin: 22px 0 0; padding: 14px 18px; background: var(--panel); border: 1px solid var(--line-amber); border-radius: var(--r-s); color: var(--body); font-size: 15px; }

/* columns */
.columns { display: grid; grid-template-columns: repeat(6, minmax(230px, 1fr)); gap: 20px; padding-top: 30px; overflow-x: auto; }
.column { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.column h2 { margin: 0; padding-bottom: 4px; display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 600; letter-spacing: .02em; }
.column h2 .name.dim { color: var(--dim); }
.column h2 .count { font-size: 13px; font-weight: 400; color: var(--dim); background: #1F1F24; border-radius: 5px; padding: 3px 8px; }
.column h2 .count.amber { color: var(--on-amber); background: var(--amber); font-weight: 500; }
.card {
  display: flex; flex-direction: column; gap: 10px; background: var(--panel); border: 1px solid var(--line-2);
  border-radius: var(--r-m); padding: 16px; color: var(--text);
}
.card:hover { border-color: var(--line-3); color: var(--text); }
.card.lead { border-color: var(--line-amber); }
.card .note { font-size: 13px; color: var(--mute); }
.card .verdict { display: flex; align-items: center; gap: 10px; }
.card .score { font-size: 15px; font-weight: 500; color: var(--amber); background: var(--amber-wash); border-radius: 6px; padding: 4px 10px; }
.card .badge { font-size: 13px; color: var(--dim); }
.card .title { font-size: 17px; font-weight: 500; line-height: 1.35; text-wrap: pretty; }
.card .org { font-size: 15px; color: var(--dim); }
.card .place { font-size: 13px; color: var(--mute); }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { font-family: var(--mono); font-size: 12px; color: var(--dim); background: #1F1F24; border-radius: 5px; padding: 4px 8px; }
.chip.reopened { font-family: var(--sans); color: var(--amber); background: var(--amber-wash); }
.empty { margin: 0; height: 96px; border: 1px dashed var(--line-3); border-radius: var(--r-m); display: flex; align-items: center; justify-content: center; text-align: center; padding: 0 14px; font-size: 14px; line-height: 1.5; color: var(--faint); }
.more { font-size: 15px; color: var(--mute); padding: 4px 2px; }
.more:hover { color: var(--amber); }
@media (max-width: 720px) {
  .bar { margin: -20px -20px 0; padding: 16px 20px; }
  .views { margin: 0 -20px; padding: 0 20px; gap: 22px; }
  .columns { grid-template-columns: repeat(6, 260px); }
}

/* list views: parked, needs a hand, filtered, skills */
.list { padding-top: 30px; display: flex; flex-direction: column; gap: 26px; }
.lede { display: flex; flex-direction: column; gap: 12px; max-width: 720px; }
.lede h1 { margin: 0; font-size: 26px; font-weight: 500; letter-spacing: -.01em; }
.lede p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--dim); text-wrap: pretty; }
.lede.split { max-width: none; flex-direction: row; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.lede.split > div:first-child { max-width: 720px; display: flex; flex-direction: column; gap: 12px; }
.lede .top { margin-left: auto; display: flex; flex-direction: column; gap: 12px; }
.pill.small { height: auto; padding: 10px 14px; border-radius: 8px; }
.pill.small .v { color: var(--body); }
.pill.small .k { font-size: 14px; }
.rows { display: flex; flex-direction: column; gap: 10px; }
.row {
  display: grid; grid-template-columns: 110px minmax(0, 1.4fr) minmax(0, 1fr) auto; gap: 24px; align-items: center;
  background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--r-m); padding: 16px 20px; color: var(--text);
}
.row:hover { border-color: var(--line-3); color: var(--text); }
.row .verdict { display: flex; align-items: center; gap: 10px; }
.row .score { font-family: var(--mono); font-size: 15px; font-weight: 500; color: var(--amber); background: var(--amber-wash); border-radius: 6px; padding: 4px 10px; }
.row .badge { font-size: 13px; color: var(--dim); }
.row .what { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.row .title { font-size: 17px; font-weight: 500; line-height: 1.35; }
.row .org { font-size: 15px; color: var(--dim); }
.row .why { font-size: 15px; color: var(--dim); line-height: 1.45; display: flex; flex-wrap: wrap; gap: 6px; }
.breaker { color: var(--red); background: var(--red-wash); border: 1px solid var(--red-line); border-radius: 5px; padding: 3px 8px; font-size: 14px; }
.empty.wide { height: auto; padding: 28px; text-align: left; justify-content: flex-start; font-size: 16px; color: var(--dim); }
.table-wrap { background: var(--panel-table); border: 1px solid var(--line); border-radius: var(--r-m); overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; }
.table th { text-align: left; font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); padding: 15px 22px; background: var(--panel); border-bottom: 1px solid var(--line-2); white-space: nowrap; }
.table td { padding: 17px 22px; border-bottom: 1px solid #1A1A20; vertical-align: middle; font-size: 16px; color: var(--dim); }
.table td.posting { font-size: 17px; color: var(--body); line-height: 1.4; }
.table td.posting a { color: var(--body); }
.table td.posting a:hover { color: var(--amber); }
.table td.reason { display: flex; align-items: center; gap: 10px; }
.table .tag { font-size: 12px; color: var(--mute); border: 1px solid var(--line-3); border-radius: 4px; padding: 3px 7px; flex-shrink: 0; }
.table .right, td.right, th.right { text-align: right; }
.faint { color: var(--faint); font-size: 13px; }
.table.skills td:first-child { color: var(--body); font-size: 17px; }
.tail { margin: 0; padding: 20px 22px; font-size: 16px; color: var(--mute); }
@media (max-width: 720px) {
  .row { grid-template-columns: 1fr; gap: 10px; }
}

/* the card */
.detail { margin: -30px -40px 0; }
.detail > * { padding-left: 40px; padding-right: 40px; }
.crumbs { height: 56px; display: flex; align-items: center; gap: 24px; border-bottom: 1px solid var(--line); }
.back { display: inline-flex; align-items: center; gap: 10px; color: var(--dim); font-size: 16px; }
.back:hover { color: var(--text); }
.crumbs .faint { margin-left: auto; font-size: 14px; }
.head { padding-top: 36px; padding-bottom: 28px; border-bottom: 1px solid var(--line); display: flex; align-items: flex-start; gap: 40px; }
.titles { flex-grow: 1; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.stage-line, .meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.stage { font-size: 13px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--amber); }
.how { font-size: 15px; color: var(--dim); }
.sep { width: 4px; height: 4px; border-radius: 50%; background: #3A3A44; display: inline-block; }
.head h1 { margin: 0; font-size: 32px; font-weight: 500; line-height: 1.25; letter-spacing: -.015em; max-width: 860px; text-wrap: balance; }
.meta { font-size: 18px; color: var(--dim); gap: 14px; }
.meta .org { color: var(--text); }
.tile { flex-shrink: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; background: rgba(240,180,41,.10); border: 1px solid rgba(240,180,41,.30); border-radius: var(--r-l); padding: 20px 28px; }
.tile .big { font-size: 42px; font-weight: 500; line-height: 1; color: var(--amber); }
.tile .label { font-size: 13px; font-weight: 400; color: var(--dim); }
.acts { padding-top: 22px; padding-bottom: 8px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.acts-hint { margin: 0; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.reject { position: relative; }
.reject summary { list-style: none; cursor: pointer; }
.reject summary::-webkit-details-marker { display: none; }
.reject[open] summary { border-color: var(--amber); }
.reject-form { position: absolute; z-index: 5; top: 60px; left: 0; width: 560px; max-width: calc(100vw - 40px); background: var(--panel); border: 1px solid var(--line-3); border-radius: var(--r-l); padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.reject-form label { font-size: 14px; color: var(--dim); }
.reject-form .line { display: flex; gap: 10px; }
.reject-form input { flex-grow: 1; background: var(--bg); border: 1px solid var(--line-3); border-radius: var(--r-s); padding: 0 14px; font: inherit; font-size: 16px; color: var(--text); height: 52px; min-width: 0; }
.reject-form input:focus { border-color: var(--amber); outline: none; }
.body { padding-top: 34px; padding-bottom: 44px; display: grid; grid-template-columns: minmax(0, 860px) minmax(320px, 1fr); gap: 40px; align-items: flex-start; }
.left, .right { display: flex; flex-direction: column; gap: 34px; min-width: 0; }
.detail section { display: flex; flex-direction: column; gap: 16px; }
.detail section h2 { margin: 0; font-size: 14px; }
.section-head { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.reasons { display: flex; flex-direction: column; gap: 14px; }
.reason { display: flex; gap: 14px; align-items: flex-start; background: var(--panel); border: 1px solid var(--line-2); border-radius: 11px; padding: 18px 20px; }
.reason p { margin: 0; font-size: 17px; line-height: 1.6; text-wrap: pretty; }
.dotm { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); flex-shrink: 0; margin-top: 9px; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.box { background: var(--panel-deep); border: 1px solid var(--line); border-radius: 11px; padding: 20px; gap: 12px; }
.box p { margin: 0; font-size: 17px; line-height: 1.5; }
.good { display: flex; align-items: center; gap: 10px; color: var(--green); }
.bad { color: var(--red); }
.dim { color: var(--dim); }
.skills-line { color: var(--body); }
.prose { background: var(--panel-deep); border: 1px solid var(--line); border-radius: 11px; padding: 24px 26px; font-size: 17px; line-height: 1.7; color: var(--body); white-space: pre-line; text-wrap: pretty; overflow-wrap: anywhere; }
.listings { display: flex; flex-direction: column; gap: 10px; }
.listing { display: flex; flex-direction: column; gap: 7px; background: var(--panel); border: 1px solid var(--line-2); border-radius: 10px; padding: 15px 17px; }
.listing.primary { border-color: var(--line-amber); }
.listing.closed { opacity: .6; }
.listing .who { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--body); }
.listing.primary .who .mono { color: var(--text); }
.tag-primary { font-size: 12px; color: var(--amber); }
.tag-closed { font-size: 12px; color: var(--red); }
.listing .when { font-size: 14px; color: var(--mute); }
.trail { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.trail li { display: flex; gap: 16px; }
.trail .node { position: relative; width: 10px; flex-shrink: 0; display: flex; justify-content: center; }
.trail .node::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #3A3A44; margin-top: 6px; }
.trail .node::after { content: ""; position: absolute; top: 20px; bottom: 0; width: 1px; background: var(--line-2); }
.trail li.last .node::before { background: var(--amber); }
.trail li.last .node::after { display: none; }
.trail .said { padding-bottom: 22px; display: flex; flex-direction: column; gap: 5px; }
.trail .line { font-size: 16px; line-height: 1.5; }
@media (max-width: 960px) {
  .body { grid-template-columns: 1fr; }
  .pair { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .detail { margin: -20px -20px 0; }
  .detail > * { padding-left: 20px; padding-right: 20px; }
  .head { flex-direction: column; gap: 20px; }
  .head h1 { font-size: 26px; }
  .meta { font-size: 16px; }
  .tile { flex-direction: row; gap: 14px; padding: 12px 18px; }
  .tile .big { font-size: 28px; }
  .reject-form { width: calc(100vw - 40px); left: -20px; }
}

/* settings */
.settings { display: flex; flex-direction: column; gap: 28px; max-width: 920px; }
.panel { background: var(--panel-deep); border: 1px solid var(--line); border-radius: var(--r-l); padding: 28px; display: flex; flex-direction: column; gap: 22px; }
.panel-head { display: flex; flex-direction: column; gap: 8px; }
.panel-head h2 { margin: 0; font-size: 20px; font-weight: 500; }
.panel-head p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--dim); text-wrap: pretty; }
.stack { display: flex; flex-direction: column; gap: 18px; }
.stack .field > label { font-size: 14px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
.field textarea { height: auto; padding: 14px 16px; font-size: 16px; line-height: 1.5; resize: vertical; }
.field textarea.mono { font-family: var(--mono); font-size: 14px; }
.check.confirm { align-items: flex-start; gap: 12px; font-size: 15px; line-height: 1.5; color: var(--body); }
.check.confirm input { margin-top: 3px; flex-shrink: 0; }
.companies { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.company-list { display: flex; flex-direction: column; gap: 6px; }
.company-list p { margin: 0; font-size: 15px; line-height: 1.5; }
