/* Deltas for the career day flow (/doorstops/career-day).

   The step system, cards and templates come from bathroom-flow.css,
   repainted for the zine by components/flow/flow-css.js; this file adds what
   only this page has, in the same ink outlines: the intro band, the date and
   head-count inputs, the interest chips, the speaker search results and
   tracker, the working-backwards timeline and the bell schedule.

   Everything inside a step is drawn with rules, not boxes: the step is
   already the card. A heavy ink rule opens a block, thin rules divide its
   rows, a 2px rule closes it. */

.cd .bf-title { max-width: 14ch; margin-left: auto; margin-right: auto; }
.cd .cd-hero-sub {
  max-width: 560px;
  margin: 0 auto 26px;
  font-size: 18px;
  line-height: 1.55;
  color: var(--dl-muted);
  text-align: center;
}

/* it only speaks up when the directory fails, so it takes no room otherwise */
#bf-school-status:empty { display: none; }
.cd a { display: inline; }

/* Any class rule with a `display` beats the browser's own `[hidden]`, so an
   element hidden from script would stay on screen. */
.cd [hidden] { display: none !important; }

/* folds open flush with the text above them, not indented under the caret */
.cd .bf-solution-body { padding-left: 0; }

/* ------------------------------------------------------- the intro band */

.cd .cd-why {
  margin: 0 0 30px;
  padding: 22px 24px 20px;
  border: 3px solid #16130f;
  border-radius: 0;
  background: #fff;
  box-shadow: 6px 6px 0 #16130f;
}
.cd .cd-why .bf-h3 { margin: 0 0 6px; }
.cd .cd-why p { font-size: 16px; line-height: 1.6; color: var(--bf-ink); margin: 0; }
@media (max-width: 620px) {
  .cd .cd-why { padding: 18px 18px 14px; box-shadow: 4px 4px 0 #16130f; }
}

/* ------------------------------------------------------- notes and hints */

.cd .bf-step-body p.cd-note, .cd p.cd-note {
  margin: 12px 0 16px;
  padding: 10px 14px;
  background: #E4F6E9;
  color: var(--bf-ink);
  font-size: 15.5px;
  line-height: 1.6;
}
.cd p.cd-note.is-warn { background: #FDF3D8; }
.cd .cd-hint { margin: 2px 0 10px; font-size: 14px; line-height: 1.5; color: var(--bf-soft); }
.cd .cd-find { margin: 8px 0 0; font-size: 14px; color: var(--bf-soft); }
/* the hint under a template's buttons sits inside the template box */
.cd .bf-template > .cd-find { margin: -4px 0 0; padding: 0 18px 16px; }

.cd .cd-list { list-style: disc; padding-left: 22px !important; margin: 6px 0 14px; }
.cd .cd-list li, .cd .bf-solution .cd-list li { list-style: disc; font-size: 15.5px; line-height: 1.6; color: var(--bf-ink); margin-bottom: 6px; }
.cd .cd-steps { list-style: decimal; padding-left: 22px !important; margin: 4px 0 14px; }
.cd .cd-steps li, .cd .bf-solution .cd-steps li { list-style: decimal; font-size: 15.5px; line-height: 1.6; color: var(--bf-ink); margin-bottom: 8px; }
.cd .cd-checklist { list-style: none; padding: 0 !important; margin: 4px 0 6px; border-top: 3px solid #16130f; border-bottom: 2px solid #16130f; }
.cd .cd-checklist li, .cd .bf-solution .cd-checklist li { list-style: none; margin: 0; padding: 11px 0; font-size: 15.5px; line-height: 1.6; color: var(--bf-ink); }
.cd .cd-checklist li + li { border-top: 1px solid var(--bf-line); }
.cd .cd-list strong, .cd .cd-steps strong, .cd .cd-checklist strong { color: #16130f; }

.cd .cd-part {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin-right: 8px;
  border: 2px solid #16130f;
  border-radius: 0;
  background: #E4F6E9;
  color: #16130f;
  font-size: 14px;
  font-weight: 700;
  vertical-align: 1px;
}

/* ------------------------------------------------- date and head count */

.cd .cd-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; margin-top: 8px; }
.cd .cd-inputs .bf-field { margin-bottom: 8px; }
@media (max-width: 560px) { .cd .cd-inputs { grid-template-columns: 1fr; } }

.cd .cd-outcome { margin-top: 24px; padding-top: 14px; border-top: 3px solid #16130f; }
.cd .cd-outcome .bf-h3 { margin-top: 0; }

/* ----------------------------------------- what we looked up, and dates
   The head count and calendar facts as ruled label rows, then the suggested
   dates as big buttons: picking one fills the date box. */

.cd .cd-lookup { margin: 14px 0 18px; border-top: 3px solid #16130f; border-bottom: 2px solid #16130f; padding-bottom: 14px; }
.cd .cd-lookup-line {
  display: grid; grid-template-columns: 110px 1fr; gap: 14px;
  margin: 0; padding: 11px 0; border-bottom: 1px solid var(--bf-line);
  font-size: 15px; line-height: 1.55; color: var(--bf-ink);
}
.cd .cd-lookup-line > span { display: block; }
.cd .cd-lookup-k {
  display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.07em;
  text-transform: uppercase; color: var(--bf-soft); padding-top: 2px;
}
.cd p.cd-lookup-k--block { margin: 14px 0 8px; }
.cd .cd-dates { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.cd .cd-date {
  display: grid; gap: 4px; align-content: start; text-align: left;
  padding: 12px 14px; border: 2px solid #16130f; border-radius: 0; background: #fff;
  font: inherit; color: #16130f; cursor: pointer; box-shadow: 3px 3px 0 #16130f;
}
.cd .cd-date strong { display: block; font-family: var(--dl-font-display); font-size: 16px; }
.cd .cd-date span { display: block; font-size: 13.5px; line-height: 1.45; color: var(--bf-soft); }
.cd .cd-date:hover { background: #FDF3D8; }
.cd .cd-date.is-active { background: #3ECFB0; }
.cd .cd-date.is-active span { color: #16130f; }
@media (max-width: 620px) {
  .cd .cd-dates { grid-template-columns: 1fr; }
  .cd .cd-lookup-line { grid-template-columns: 1fr; gap: 2px; }
}

/* ------------------------------------------------------- the one-pager */

.cd .cd-onepager { display: flex; flex-wrap: wrap; gap: 10px; margin: 4px 0 14px; }
.cd .cd-onepager-preview { margin: 0 0 18px; border: 2px solid #16130f; box-shadow: 4px 4px 0 #16130f; background: #fff; line-height: 0; }
.cd .cd-onepager-preview svg { display: block; width: 100%; height: auto; }

/* --------------------------------------------------- the two surveys */

.cd .cd-surveys { display: flex; flex-wrap: wrap; gap: 10px; margin: 4px 0 18px; }

/* ------------------------------------------------------ interest chips */

.cd .cd-fields { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 14px; }
.cd .cd-field {
  padding: 7px 12px;
  border: 2px solid #16130f;
  border-radius: 0;
  background: #fff;
  font: inherit;
  font-size: 14.5px;
  font-weight: 600;
  color: #16130f;
  cursor: pointer;
}
.cd .cd-field:hover { background: #FDF3D8; }
.cd .cd-field.is-active { background: #3ECFB0; box-shadow: 3px 3px 0 #16130f; }

.cd .cd-addrow { display: flex; gap: 10px; align-items: stretch; margin-bottom: 6px; }
.cd .cd-addrow .bf-input { flex: 1; min-width: 0; margin: 0; }
.cd .cd-addrow select.bf-input { flex: 0 1 190px; }
@media (max-width: 560px) {
  .cd .cd-tracker .cd-addrow { flex-wrap: wrap; }
  .cd .cd-tracker .cd-addrow .bf-input { flex: 1 1 100%; }
}

/* --------------------------------------------------- speakers needed */

.cd .cd-stat {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  margin: 0 0 16px;
  padding: 0 0 14px;
  border-bottom: 2px solid #16130f;
}
.cd .cd-stat-num {
  font-family: var(--dl-font-display);
  font-size: 56px;
  font-weight: 700;
  line-height: 1;
  color: #148d75;
}
.cd .cd-stat p { margin: 0; font-size: 15.5px; line-height: 1.55; color: var(--bf-ink); }

/* ------------------------------------------------- speaker search results */

.cd .cd-search-actions { margin: 4px 0 8px; }
.cd .cd-for { font-weight: 500; opacity: .8; display: inline; }
.cd .cd-people { list-style: none; padding: 0 !important; margin: 6px 0 16px; border-top: 2px solid #16130f; border-bottom: 2px solid #16130f; }
.cd .cd-person, .cd .bf-solution .cd-person {
  list-style: none;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  justify-content: space-between;
  margin: 0;
  padding: 11px 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--bf-ink);
}
.cd .cd-person + .cd-person { border-top: 1px solid var(--bf-line); }
.cd .cd-person-main { min-width: 0; }
.cd .cd-person-job { display: inline; color: var(--bf-soft); }
.cd .cd-person-why { display: block; margin-top: 2px; }
.cd .cd-person-links { display: block; margin-top: 2px; font-size: 13.5px; color: var(--bf-soft); overflow-wrap: anywhere; }
.cd .cd-person-add {
  flex: none;
  padding: 4px 9px;
  border-radius: 0;
  border: 2px solid #16130f;
  background: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: #16130f;
  cursor: pointer;
}
.cd .cd-person-add:hover { background: #FDF3D8; }
.cd .cd-person-add:disabled { background: #E4F6E9; cursor: default; }

.cd .cd-invite { margin: 22px 0 4px; padding: 14px 0 0; border-top: 3px solid #16130f; }
.cd .cd-invite .bf-h3 { margin-top: 0; }

/* ------------------------------------------------------ the tracker */

.cd .cd-tracker { margin: 22px 0 4px; padding: 14px 0 0; border-top: 3px solid #16130f; }
.cd .cd-tracker .bf-h3 { margin-top: 0; }
.cd .cd-sp-list { list-style: none; padding: 0 !important; margin: 14px 0 0; }
.cd .cd-sp-list:not(:empty) { border-top: 2px solid #16130f; border-bottom: 2px solid #16130f; }
.cd .cd-sp-row {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0;
  padding: 9px 0;
}
.cd .cd-sp-row + .cd-sp-row { border-top: 1px solid var(--bf-line); }
.cd .cd-sp-row.is-yes { background: #E4F6E9; box-shadow: -10px 0 0 #E4F6E9, 10px 0 0 #E4F6E9; }
.cd .cd-sp-row.is-no { background: #FDE7E0; box-shadow: -10px 0 0 #FDE7E0, 10px 0 0 #FDE7E0; }
.cd .cd-sp-name { display: block; font-weight: 600; color: var(--bf-ink); font-size: 15px; }
.cd .cd-sp-field { display: inline; font-weight: 500; font-size: 13px; color: var(--bf-soft); }
.cd .cd-sp-btns { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.cd .cd-sp-btns button {
  padding: 4px 9px;
  border-radius: 0;
  border: 2px solid #16130f;
  background: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  color: #16130f;
  cursor: pointer;
}
.cd .cd-sp-btns button:hover { background: #FDF3D8; }
.cd .cd-sp-btns button.is-active { background: #16130f; border-color: #16130f; color: #FBF6EC; }
.cd .cd-sp-btns .cd-sp-x { width: 28px; height: 28px; padding: 0; font-size: 16px; line-height: 1; }
.cd .cd-sp-read { margin: 12px 0 0; font-size: 15px; font-weight: 600; color: var(--bf-ink); }
.cd .cd-coverage { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; }
.cd .cd-cov {
  display: inline-block;
  padding: 3px 9px;
  border: 2px solid #16130f;
  font-size: 13px;
  font-weight: 600;
  color: #16130f;
  background: #fff;
}
.cd .cd-cov.is-yes { background: #E4F6E9; }

/* -------------------------------------------------------- the timeline
   Weeks before the day, worked back from the date. The row that sinks
   career days when it slips is marked, and a row whose date has already
   passed says so. */

.cd .cd-cal { margin: 8px 0 18px; border-top: 3px solid #16130f; border-bottom: 2px solid #16130f; }
.cd .cd-cal-row { display: grid; grid-template-columns: 150px 1fr; gap: 18px; border-bottom: 1px solid var(--bf-line); }
.cd .cd-cal-row:last-child { border-bottom: none; }
.cd .cd-cal-when { padding: 11px 0; color: var(--bf-soft); font-size: 14px; font-weight: 700; }
.cd .cd-cal-what { padding: 11px 0; font-size: 15px; line-height: 1.5; color: var(--bf-ink); }
.cd .cd-cal-row.is-crux { background: #E4F6E9; box-shadow: -10px 0 0 #E4F6E9, 10px 0 0 #E4F6E9; }
.cd .cd-cal-row.is-crux .cd-cal-when { color: #16130f; }
.cd .cd-cal-row.is-late { background: #FDF3D8; box-shadow: -10px 0 0 #FDF3D8, 10px 0 0 #FDF3D8; }
.cd .cd-late {
  display: inline-block; margin-left: 4px; padding: 1px 6px;
  font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase;
  background: #16130f; color: #FBF6EC;
}
@media (max-width: 560px) {
  .cd .cd-cal-row { grid-template-columns: 1fr; gap: 0; }
  .cd .cd-cal-when { padding-bottom: 0; }
  .cd .cd-cal-what { padding-top: 2px; }
}

/* -------------------------------------------------------- the schedule */

.cd .cd-sched-controls { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 14px; }
.cd .cd-sched-controls .bf-field { margin-bottom: 8px; }
@media (max-width: 560px) { .cd .cd-sched-controls { grid-template-columns: 1fr 1fr; } }

.cd .cd-tablewrap { overflow-x: auto; margin: 6px 0 8px; }
.cd .cd-table { border-collapse: collapse; width: 100%; }
.cd .cd-table th, .cd .cd-table td {
  text-align: left; padding: 10px 14px 10px 0; border-bottom: 1px solid var(--bf-line);
  vertical-align: top; font-size: 15px; line-height: 1.5; color: var(--bf-ink);
}
.cd .cd-table tr:first-child th, .cd .cd-table tr:first-child td { border-top: 3px solid #16130f; }
.cd .cd-table tr:last-child th, .cd .cd-table tr:last-child td { border-bottom: 2px solid #16130f; }
.cd .cd-table th { width: 150px; white-space: nowrap; font-weight: 700; color: #16130f; }
@media (max-width: 560px) {
  .cd .cd-table th { width: 110px; white-space: normal; font-size: 14px; }
}

/* ------------------------------------------------ Doorstop Session ending */

.cd .cd-session { margin: 4px 0 18px; padding: 16px 0 22px; border-top: 3px solid #16130f; border-bottom: 2px solid #16130f; }
.cd .cd-session h3 {
  font-family: var(--dl-font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: #16130f;
  margin: 0 0 10px;
}
.cd .cd-session p { margin: 0 0 12px; font-size: 16px; line-height: 1.6; color: var(--bf-ink); }
.cd .cd-session ul { list-style: disc; padding-left: 22px; margin: 0 0 16px; }
.cd .cd-session li { list-style: disc; font-size: 16px; line-height: 1.6; color: var(--bf-ink); margin-bottom: 6px; }

.cd .cd-lookup .cd-hint { margin: 10px 0 0; }
