/* ===================================================================== tools ===
   The Comp Day Timeline and the Cook Time Calculator.

   One stylesheet for both places they live: the website's tool pages (as a free taste) and the team app (the whole
   tool). It reads the same few colour names everywhere (--bg, --fg, --muted, --faint, --surface, --surface-hi, --line,
   --accent, --accent-ink, --shadow, and the brand colours --ember, --ember-hi, --ember-ink, --gold, --bark). On the
   website the section themes in store.css set them; in the team app `.bbq-tool` (app/styles.css) sets them from the
   app's own light and dark colours (and --field-bg and --info-bg, which the website leaves to their defaults). The
   button, tab and screen-reader-only classes the tools use are in store.css for the website and in app/tools-theme.css
   for the app. */

/* The site is dark by default, which makes native radios, checkboxes and time pickers render dark. */
.ct {
  display: grid;
  gap: 1.6rem;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "tabs"
    "panel"
    "output";
}
@media (min-width: 1000px) {
  .ct {
    grid-template-columns: minmax(0, 28rem) minmax(0, 1fr);
    grid-template-areas:
      "tabs tabs"
      "panel output";
    align-items: start;
    gap: 1.6rem 2.6rem;
  }
}
.ct-tabs {
  grid-area: tabs;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.ct-panel {
  grid-area: panel;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: minmax(0, 1fr);
  min-width: 0;
}
.ct-panel[hidden] {
  display: none;
}
.ct-output {
  grid-area: output;
  display: grid;
  gap: 1.2rem;
  grid-template-columns: minmax(0, 1fr);
  min-width: 0;
  align-content: start;
}
.ct-fieldset {
  display: grid;
  gap: 0.7rem;
  grid-template-columns: minmax(0, 1fr);
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.ct-fieldset > legend {
  margin-bottom: 0.2rem;
  padding: 0;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--fg);
}
.ct-hint,
.ct-lede {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}
.ct-lede {
  font-size: 0.97rem;
  max-width: 62ch;
}
.ct-choices {
  display: grid;
  gap: 0.6rem;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
}
.ct-choices-1 {
  grid-template-columns: minmax(0, 1fr);
}
.ct-choice {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  min-height: 44px;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  cursor: pointer;
  transition:
    border-color 0.2s,
    background 0.2s;
}
.ct-choice:hover {
  border-color: var(--accent);
}
.ct-choice input {
  flex: none;
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.2rem;
  accent-color: var(--ember);
}
.ct-choice-text {
  display: grid;
  gap: 0.15rem;
}
.ct-choice-text small {
  font-size: 0.82rem;
  line-height: 1.35;
  color: var(--muted);
}
.ct-choice:has(input:checked) {
  border-color: var(--ember);
  background: color-mix(in srgb, var(--ember) 7%, var(--surface));
  box-shadow: 0 0 0 1px var(--ember) inset;
}
.ct-choice:has(input:focus-visible),
.ct-check:has(input:focus-visible) {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.ct-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.ct-check {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 44px;
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  cursor: pointer;
}
.ct-check input {
  width: 1.05rem;
  height: 1.05rem;
  accent-color: var(--ember);
}
.ct-check-solo {
  border-radius: 14px;
}
.ct-times {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr));
}
.ct-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.8rem 1.2rem;
}
.ct-field {
  display: grid;
  gap: 0.3rem;
  align-content: start;
  min-width: 0;
}
.ct-field > label {
  font-size: 0.9rem;
  font-weight: 620;
}
.ct-field small {
  font-size: 0.8rem;
  color: var(--muted);
}
.ct-field input,
.ct-field select,
.ct-textarea,
.ct-table input,
.ct-table select {
  width: 100%;
  min-height: 44px;
  padding: 0.5rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--field-bg, #fff);
  color: var(--fg);
  font: inherit;
}
.ct-textarea {
  min-height: 12rem;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  line-height: 1.5;
  resize: vertical;
}
.ct-field input:focus-visible,
.ct-field select:focus-visible,
.ct-textarea:focus-visible,
.ct-table input:focus-visible,
.ct-table select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}
.ct-num {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.ct-unit {
  font-size: 0.85rem;
  color: var(--muted);
}
.ct-link {
  align-self: start;
  padding: 0.5rem 0;
  border: 0;
  background: none;
  color: var(--accent-ink);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.ct-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.ct-fine,
.ct-rules {
  padding: 0 1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}
.ct-fine > summary,
.ct-rules > summary {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0.7rem 0;
  font-weight: 700;
  cursor: pointer;
}
.ct-fine[open] {
  display: grid;
  gap: 0.9rem;
  /* not `auto`: the implicit column would grow to the table's width and push the page sideways */
  grid-template-columns: minmax(0, 1fr);
  padding-bottom: 1rem;
}
.ct-rules ul {
  display: grid;
  gap: 0.6rem;
  margin: 0 0 0.8rem;
  padding-left: 1.1rem;
  font-size: 0.92rem;
}
.ct-source {
  margin: 0 0 1rem;
  font-size: 0.85rem;
  color: var(--muted);
}
.ct-source a {
  color: var(--accent-ink);
  font-weight: 650;
}
/* A positioned scroller, so the screen-reader-only labels inside are clipped with it. */
.ct-table-wrap {
  position: relative;
  overflow-x: auto;
}
.ct-table-wrap:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.ct-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.ct-table caption {
  padding: 0.3rem 0 0.5rem;
  text-align: left;
  font-weight: 700;
}
.ct-table th,
.ct-table td {
  padding: 0.5rem 0.6rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.ct-table thead th {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--faint);
}
.ct-table td input[type="number"] {
  width: 6rem;
}
.ct-row-issue {
  background: color-mix(in srgb, #c0392b 6%, transparent);
}
.ct-summary {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.ct-k {
  display: block;
  margin-bottom: 0.15rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
}
.ct-summary strong {
  font-size: 0.98rem;
}
.ct-warnings {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ct-warn {
  margin: 0;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--line);
  border-left-width: 4px;
  border-radius: 12px;
  font-size: 0.92rem;
  line-height: 1.5;
}
.ct-warn strong {
  margin-right: 0.3rem;
}
.ct-warn-error {
  border-color: #e5a39b;
  border-left-color: #c0392b;
  background: #fdecea;
  color: #4a1410;
}
.ct-warn-warn {
  border-color: #e8c36b;
  border-left-color: #c98a00;
  background: #fff4dc;
  color: #4a3300;
}
.ct-warn-info {
  border-left-color: var(--bark);
  background: var(--info-bg, #f1ece3);
  color: var(--fg);
}
.ct-warn-ok {
  border-color: #a9d3b4;
  border-left-color: #2f8f4e;
  background: #e8f5ec;
  color: #12331d;
}
.ct-days {
  display: grid;
  gap: 1.5rem;
}
.ct-day h2,
.ct-day h3 {
  margin: 0 0 0.6rem;
  font-size: 1.15rem;
}
.ct-day h2 small,
.ct-day h3 small {
  margin-left: 0.4rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
}
.ct-list {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ct-item {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: 5.4rem minmax(0, 1fr);
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}
.ct-item.ct-kind-turnin,
.ct-item.ct-kind-rule {
  box-shadow: inset 4px 0 0 var(--ember);
}
.ct-conditional {
  border-style: dashed;
}
.ct-time {
  font-family: var(--font-mono);
  font-size: 0.93rem;
  font-weight: 700;
  white-space: nowrap;
  color: var(--accent-ink);
}
.ct-task {
  margin: 0;
  font-weight: 650;
}
.ct-note {
  margin: 0.2rem 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}
.ct-tag {
  display: inline-block;
  margin-left: 0.4rem;
  padding: 1px 8px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  vertical-align: middle;
}
.ct-tag-rule {
  border-color: color-mix(in srgb, var(--ember) 35%, transparent);
  background: color-mix(in srgb, var(--ember) 12%, #fff);
  color: var(--ember-ink);
}
.ct-tag-assumed {
  background: #f3ead3;
  color: #5a4300;
}
.ct-tag-finals {
  background: #e6edf8;
  color: #1b3a66;
}
.ct-tag-issue {
  background: #fdecea;
  color: #7a1d12;
}
.ct-tag-day2 {
  border-color: color-mix(in srgb, var(--gold) 55%, transparent);
  background: #f6e7b8;
  color: #4a3300;
}
/* a double: Comp Day 2's work inside Comp Day 1 is marked on the left as well as in words */
.ct-item.ct-for-day2 {
  box-shadow: inset 4px 0 0 var(--gold);
}
.ct-item.ct-for-day2.ct-kind-turnin,
.ct-item.ct-for-day2.ct-kind-rule {
  box-shadow: inset 4px 0 0 var(--gold);
}
/* Comp Day 2's own questions, under "Doing a double?" */
.ct-second {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: minmax(0, 1fr);
  min-width: 0;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: 14px;
  background: var(--surface);
}
.ct-second h3 {
  margin: 0;
  font-size: 1.05rem;
}
.ct-bad {
  color: #7a1d12;
  font-weight: 650;
}
.ct-empty {
  margin: 0;
  padding: 1.2rem;
  border: 1px dashed var(--line);
  border-radius: 14px;
  color: var(--muted);
}
.ct-actions,
.ct-bulk {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.8rem;
}
.ct-bulk {
  padding: 0.6rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}
.ct-bulk .ct-link {
  padding: 0.4rem 0;
}
.ct-shifted {
  font-size: 0.85rem;
  color: var(--muted);
}
.ct-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-left: auto;
  font-size: 0.9rem;
}
.ct-status {
  font-size: 0.9rem;
  color: var(--muted);
}
.ct-handoff {
  display: grid;
  gap: 0.6rem;
  justify-items: start;
  padding: 1.2rem;
  border: 1px dashed var(--line);
  border-radius: 16px;
}
.ct-handoff h3,
.ct-handoff p {
  margin: 0;
}
.ct-handoff p {
  color: var(--muted);
  font-size: 0.93rem;
}
.ct-print-title {
  display: none;
}
.ct-fallback {
  display: grid;
  gap: 1.2rem;
}
/* the page around the tool */
.ct-steps {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}
.ct-steps li {
  display: flex;
  gap: 1rem;
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}
.ct-step-n {
  display: grid;
  flex: none;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--ember-hi));
  color: #1a0f0b;
  font-family: var(--font-mono);
  font-weight: 800;
}
.ct-steps h3 {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
}
.ct-steps p {
  margin: 0;
  font-size: 0.93rem;
  color: var(--muted);
}
.ct-bodies {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}
.ct-body-card {
  padding: 1.3rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.ct-body-card h3 {
  margin: 0;
  font-size: 1.2rem;
}
.ct-body-tag {
  margin: 0.3rem 0 0.8rem;
  font-size: 0.92rem;
  color: var(--muted);
}
.ct-times-list {
  display: grid;
  gap: 0.2rem;
  margin: 0 0 0.8rem;
  padding: 0;
  list-style: none;
}
.ct-times-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.3rem 0;
  border-bottom: 1px dashed var(--line);
}
.ct-times-list b {
  font-family: var(--font-mono);
}
.ct-body-fine,
.ct-body-doc,
.ct-footnote {
  margin: 0.2rem 0;
  font-size: 0.85rem;
  color: var(--muted);
}
.ct-body-doc a {
  color: var(--accent-ink);
  font-weight: 650;
}
.ct-footnote {
  margin-top: 1.4rem;
}
.ct-faq {
  display: grid;
  gap: 0.6rem;
  max-width: 62rem;
}
.ct-faq details {
  padding: 0 1.1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}
.ct-faq summary {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0.8rem 0;
  font-weight: 650;
  cursor: pointer;
}
.ct-faq p {
  margin: 0 0 1rem;
  color: var(--muted);
}
/* ------------------------------------------------------ cook time calculator --- */
.cc {
  display: grid;
  gap: 2.2rem;
  grid-template-columns: minmax(0, 1fr);
  min-width: 0;
}
.cc-step {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: minmax(0, 1fr);
  min-width: 0;
}
/* not .ct-output: that one is placed by name in the timeline's grid */
.cc-output {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: minmax(0, 1fr);
  min-width: 0;
  align-content: start;
}
.cc-step h2 {
  margin: 0;
  font-size: 1.2rem;
}
.cc-cookers,
.cc-meats,
.cc-contest {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: minmax(0, 1fr);
  min-width: 0;
}
.cc-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 21rem), 1fr));
}
.cc-list {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr);
}
/* the fields of a card: two across, six on a wide card, one on a small phone */
.cc-fields {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}
.cc-span2,
.cc-span3 {
  grid-column: span 2;
}
.cc-fields-in {
  padding: 0 0 1rem;
}
@media (max-width: 27rem) {
  .cc-fields {
    grid-template-columns: minmax(0, 1fr);
  }
  .cc-span2,
  .cc-span3 {
    grid-column: auto;
  }
}
@media (min-width: 60rem) {
  .cc-fields {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  .cc-span3 {
    grid-column: span 3;
  }
}
.cc-card,
.cc-result {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  min-width: 0;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}
.cc-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.6rem;
}
.cc-card h3,
.cc-result h3 {
  margin: 0;
  font-size: 1.05rem;
}
.cc-note {
  font-size: 0.86rem;
}
.cc-add {
  justify-self: start;
}
.cc-adds,
.cc-fill {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.9rem;
}
.cc-adds .ct-k,
.cc-fill .ct-k {
  margin: 0;
}
.cc-temp {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.2rem 1.2rem;
  min-width: 0;
}
.cc-temp .ct-field {
  width: 9.5rem;
}
.cc-quick {
  display: grid;
  gap: 0;
  padding-bottom: 0.2rem;
}
.cc-quick .ct-link {
  padding: 0.3rem 0;
  font-size: 0.82rem;
}
.cc-team {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.6rem 1.4rem;
}
.cc-team .ct-field {
  width: 12rem;
}
.cc-team .ct-hint {
  flex: 1 1 18rem;
  padding-bottom: 0.5rem;
}
.cc-suggest {
  display: grid;
  gap: 0.2rem;
  justify-items: start;
}
.cc-more {
  background: none;
}
.cc-plan-title {
  margin: 0;
  font-size: 1.4rem;
}
.cc-h {
  margin: 0.6rem 0 0;
  font-size: 1.1rem;
}
.cc-loads {
  display: grid;
  gap: 0.3rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.93rem;
}
.cc-ranges td {
  white-space: nowrap;
}
.cc-summary {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: minmax(0, 1fr);
}
/* the phone's version of the table: a card per meat */
.cc-mini {
  display: none;
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.cc-mini-item {
  display: grid;
  gap: 0.3rem;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}
.cc-mini-dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem 0.8rem;
  margin: 0.4rem 0 0;
}
.cc-mini-dl dt {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--faint);
}
.cc-mini-dl dd {
  margin: 0;
  font-weight: 700;
}
@media (max-width: 40rem) {
  .cc-summary .ct-table-wrap {
    display: none;
  }
  .cc-mini {
    display: grid;
  }
}
.cc-ranges th[scope="row"] {
  min-width: 11rem;
}
.cc-cookers-table td:last-child {
  min-width: 16rem;
}
.cc-cards {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr));
}
.cc-where {
  font-size: 0.85rem;
  color: var(--muted);
}
.cc-stats {
  display: grid;
  gap: 0.6rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.cc-stat strong {
  font-size: 1.02rem;
}
.cc-stat-plan strong {
  font-size: 1.12rem;
}
.cc-range {
  position: relative;
  height: 0.7rem;
  margin: 0.2rem 0;
  border-radius: 999px;
  background: var(--line);
}
.cc-range-fill {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--from, 10%);
  right: calc(100% - var(--to, 90%));
  border-radius: 999px;
  background: var(--accent);
  opacity: 0.55;
}
.cc-range-mark {
  position: absolute;
  top: -3px;
  bottom: -3px;
  left: var(--typ, 50%);
  width: 3px;
  margin-left: -1px;
  border-radius: 2px;
  background: var(--fg);
}
.cc-result p {
  margin: 0;
  font-size: 0.93rem;
}
.cc-compare {
  display: grid;
  gap: 0.3rem;
  margin: 0.6rem 0;
  padding-left: 1.1rem;
  font-size: 0.92rem;
}
.cc-logit {
  justify-self: start;
}
.cc-logged,
.cc-learned {
  display: grid;
  gap: 0.3rem;
  margin: 0.8rem 0;
  padding-left: 1.1rem;
  font-size: 0.9rem;
}
.cc-log {
  padding-bottom: 1rem;
}
.cc-log .btn {
  margin-top: 0.8rem;
}
.cc-fallback-body {
  display: grid;
  gap: 1rem;
}
.cc-fallback-body h2 {
  margin: 0;
  font-size: 1.2rem;
}
/* the timeline tool's bar offering the calculator's numbers */
.ct-styles {
  display: grid;
  gap: 0.6rem;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
}
.ct-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.1rem;
}
.ct-banner {
  display: grid;
  gap: 0.6rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent-ink);
  border-radius: 12px;
  background: var(--surface);
}
.ct-banner p {
  margin: 0;
  font-size: 0.93rem;
}
.ct-banner-on {
  border-left-color: #2f8f4e;
}
.ct-banner-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 1rem;
}
@media (max-width: 639px) {
  .ct-item {
    grid-template-columns: 4.6rem minmax(0, 1fr);
    gap: 0.6rem;
    padding: 0.65rem 0.7rem;
  }
  .ct-toggle {
    margin-left: 0;
  }
}

/* ------------------------------------------------------------------ the free taste --- */

/* What the website's tools show instead of the rest of an answer. Placeholders, not the answer made hard to read. */
/* The fields that describe a smoker you built, side by side where there is room. */
.cc-built-grid {
  display: grid;
  gap: 0.8rem 1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
  margin-bottom: 0.8rem;
}
.cc-built .ct-check-solo {
  margin-bottom: 0.8rem;
}
.cc-derived {
  margin-top: 0.8rem;
}

.ct-print-notice {
  display: none;
}
.ct-locked {
  margin-top: 0.7rem;
}
.ct-ghost {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  filter: blur(2.5px);
  opacity: 0.6;
  pointer-events: none;
  user-select: none;
}
.ct-ghost-row {
  display: grid;
  grid-template-columns: 5.2rem minmax(0, 1fr);
  gap: 0.8rem;
  align-items: center;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}
.ct-ghost-time,
.ct-ghost-task {
  display: block;
  height: 0.85rem;
  border-radius: 6px;
  background: var(--line);
}
.ct-ghost-time {
  width: 3.6rem;
}
.ct-locked-note {
  margin: 0.7rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.ct-locked-note strong {
  color: var(--accent-ink);
}
.ct-locked-note a {
  color: var(--accent-ink);
  font-weight: 600;
  text-underline-offset: 3px;
}
.ct-lock-chip {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.4rem 0 0;
  padding: 0.6rem 0.85rem;
  border: 1px dashed var(--line);
  border-radius: 12px;
  color: var(--muted);
  font-size: 0.92rem;
}
.ct-lock-text {
  flex: 1 1 auto;
  min-width: 0;
}
.ct-lock-chip a {
  color: var(--accent-ink);
  font-weight: 600;
  text-underline-offset: 3px;
}
.ct-lock-ico {
  flex: none;
  align-self: flex-start;
  margin-top: 0.2rem;
  width: 0.95rem;
  height: 0.95rem;
  background: currentColor;
  -webkit-mask:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10V8a5 5 0 0 1 10 0v2h1a1 1 0 0 1 1 1v9a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1v-9a1 1 0 0 1 1-1h1Zm2 0h6V8a3 3 0 0 0-6 0v2Z'/%3E%3C/svg%3E")
    center / contain no-repeat;
  mask:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10V8a5 5 0 0 1 10 0v2h1a1 1 0 0 1 1 1v9a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1v-9a1 1 0 0 1 1-1h1Zm2 0h6V8a3 3 0 0 0-6 0v2Z'/%3E%3C/svg%3E")
    center / contain no-repeat;
}
.ct-upsell {
  display: grid;
  gap: 0.7rem;
  padding: 1.4rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 18px;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(150deg, var(--gold), var(--ember) 55%, var(--ember-ink)) border-box;
  box-shadow: var(--shadow);
}
.ct-upsell-kicker {
  margin: 0;
  color: var(--accent-ink);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.ct-upsell h3 {
  margin: 0;
  font-size: 1.25rem;
}
.ct-upsell p {
  margin: 0;
}
.ct-upsell-points {
  display: grid;
  gap: 0.35rem;
  margin: 0.2rem 0 0.3rem;
  padding: 0;
  list-style: none;
  color: var(--muted);
}
.ct-upsell-points li {
  position: relative;
  padding-left: 1.4rem;
}
.ct-upsell-points li::before {
  content: "";
  position: absolute;
  top: 0.45em;
  left: 0;
  width: 0.8rem;
  height: 0.45rem;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.ct-upsell-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.3rem;
}
/* The taste does not print: the page says so instead. */

@media print {
  .ct-tabs,
  .ct-panel,
  .ct-actions,
  .ct-bulk,
  .ct-handoff,
  .ct-rules,
  .ct-import-table,
  .cc-step,
  .cc-noprint,
  .cc-mini,
  .cc-plan-title,
  .cc-log,
  .ct-banner {
    display: none !important;
  }

  .ct,
  .cc {
    display: block;
  }
  .cc-ranges,
  .cc-loads {
    font-size: 9pt;
  }
  /* a scroller clips in print: let the table take the page width and wrap instead */
  .ct-table-wrap {
    overflow: visible;
  }
  .cc-summary .ct-table-wrap {
    display: block !important;
  }
  .cc-ranges td,
  .cc-ranges th {
    white-space: normal;
    min-width: 0;
    padding: 3pt 4pt;
  }
  .ct-output,
  .cc-output {
    gap: 8pt;
  }
  .ct-print-title {
    display: block;
    margin: 0 0 8pt;
    font-size: 16pt;
    color: #000;
  }
  .ct-item {
    break-inside: avoid;
    padding: 4pt 0;
    border: 0;
    border-bottom: 1px solid #999;
    border-radius: 0;
    background: none;
  }
  .ct-item,
  .ct-item.ct-kind-turnin,
  .ct-item.ct-kind-rule {
    box-shadow: none;
  }
  /* a double: Comp Day 2's work keeps its mark on paper, and every row leaves room for it so the times line up */
  .ct-days-double .ct-item {
    padding-left: 8pt;
  }
  .ct-item.ct-for-day2 {
    box-shadow: inset 3pt 0 0 var(--gold);
  }
  .ct-time,
  .ct-note,
  .ct-task {
    color: #000;
  }
  .ct-tag {
    border: 1px solid #666;
    background: none;
    color: #000;
  }
  .ct-taste > * {
    display: none !important;
  }
  .ct-taste > .ct-print-notice {
    display: block !important;
    padding: 12pt 0;
    font-size: 12pt;
    color: #000;
  }
}
