/* News kit maker. Shared by the crawl document and the desk view. */
.kit { max-width: 1120px; }
.doc.kit { padding: 32px 22px 72px; }
#view-newskit .doc.kit { padding: 8px 0 56px; }
.kit h1 {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  letter-spacing: -0.04em; line-height: 1.08;
  max-width: 18ch;
}
.kit .lede {
  font-size: 1.05rem; line-height: 1.5;
  max-width: 46ch; color: var(--muted); margin: 0;
}
.kit .intro .rules { margin-top: 22px; }
.kit .lbl {
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--dim); margin: 0 0 8px;
}
.kit .rules {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px;
}
.kit .rules article {
  background: var(--bg-card, var(--card, #fffcf7)); border: 1px solid var(--line);
  border-radius: 12px; padding: 11px 13px 10px;
}
.kit .rules h3 {
  font-size: 0.86rem; letter-spacing: -0.02em; margin: 0 0 3px;
  text-transform: none; color: var(--ink);
}
.kit .rules p { margin: 0; font-size: 0.8rem; color: var(--muted); line-height: 1.35; }
.kit .desk {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.35fr);
  grid-template-areas:
    "make see"
    "take see";
  gap: 22px 48px;
  align-items: start;
  margin-top: 32px;
}
.kit .make { grid-area: make; min-width: 0; }
.kit .see { grid-area: see; min-width: 0; position: sticky; top: 16px; }
#view-newskit .kit .see { top: 72px; }
.kit .take { grid-area: take; min-width: 0; margin-top: 0; }
.kit .find input {
  width: 100%;
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--control-fill, var(--bg-elev, #fff));
  color: var(--ink); font-size: 1rem;
}
.kit .find input::placeholder { color: var(--dim); }
.kit .find input:focus { outline: 2px solid var(--teal); outline-offset: 2px; }
.kit .find .hint { margin-top: 8px; font-size: 0.8rem; color: var(--dim); line-height: 1.4; }
.kit .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.kit .chip {
  font: inherit; cursor: pointer;
  background: var(--control-fill, var(--bg-elev, #fff));
  border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 12px; font-size: 0.8rem; font-weight: 650; color: var(--muted);
}
.kit .chip.on { background: var(--ink); color: var(--bg, #fff); border-color: var(--ink); }
.kit .block { margin-top: 22px; }
.kit .block:first-child { margin-top: 0; }
.kit .hits { display: grid; gap: 6px; margin-top: 10px; }
.kit .hit {
  display: grid; grid-template-columns: 5.6rem minmax(0, 1fr);
  gap: 2px 10px; text-align: left;
  padding: 9px 11px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--bg-card, var(--card, #fffcf7));
  color: var(--ink);
}
.kit .hit.on { border-color: var(--teal); background: var(--teal-dim, rgba(10, 143, 122, 0.12)); }
.kit .hit b { color: var(--ink); }
.kit .hit .t {
  grid-row: 1 / 3; align-self: center;
  font-size: 0.56rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--teal);
}
.kit .hit b { font-size: 0.9rem; letter-spacing: -0.03em; }
.kit .hit i { font-style: normal; font-size: 0.76rem; color: var(--muted); line-height: 1.35; }
.kit .more { font-size: 0.8rem; color: var(--dim); margin: 8px 0 0; line-height: 1.4; }
.kit .stage-head {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 8px 12px;
  margin-bottom: 10px;
}
.kit .stage-head h2 {
  font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--dim); margin: 0; font-weight: 700;
}
.kit .stage-head .ctrls {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px;
}
.kit .stage-head .seg { display: flex; gap: 4px; align-items: center; }
.kit .stage-head .seg + .seg {
  padding-left: 10px;
  border-left: 1px solid var(--line);
}
.kit .host-chip {
  font: inherit; cursor: pointer;
  background: var(--control-fill, var(--bg-elev, #fff));
  border: 1px solid var(--line); padding: 4px 9px;
  font-size: 0.72rem; font-weight: 650;
  color: var(--dim); border-radius: 999px;
}
.kit .host-chip.on { color: var(--bg, #fff); background: var(--ink); border-color: var(--ink); }
.kit .host {
  background: #fffcf7; color: #12191d;
  border: 1px solid rgba(18, 25, 29, 0.14);
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 12px 32px rgba(18, 25, 29, 0.05);
}
.kit .host-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px; background: #f7f5f0; border-bottom: 1px solid rgba(18, 25, 29, 0.1);
  font-size: 0.72rem; color: #6a7d86; font-weight: 650;
}
.kit .host-bar i {
  width: 8px; height: 8px; border-radius: 50%; background: #d0cbc2;
}
.kit .host-page { padding: 22px 24px 26px; overflow: auto; }
.kit .host-page .ey {
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: #6a7d86; margin-bottom: 8px;
}
.kit .host-page h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.2rem, 2vw, 1.45rem); font-weight: 600; letter-spacing: -0.02em;
  line-height: 1.2; margin: 0 0 8px; text-transform: none; color: #12191d;
  max-width: 22ch;
}
.kit .host-page .by { font-size: 0.78rem; color: #6a7d86; margin-bottom: 14px; }
.kit .host-page p.copy { font-size: 0.98rem; line-height: 1.55; color: #3d5560; margin: 0 0 1em; }
.kit .host-page p.fill { font-size: 0.98rem; line-height: 1.55; color: #3d5560; margin: 0 0 1em; }
.kit .slot { margin: 1em 0 1.2em; }
.kit .slot iframe {
  display: block; border: 0; background: transparent;
  width: 100%; min-height: 180px; height: 220px;
}
.kit .slot.is-tall iframe { min-height: 320px; height: 420px; }
.kit .host-desk .slot.is-tall {
  float: right; width: 332px; max-width: 46%;
  margin: 0.15em 0 1em 1.25em;
}
.kit .host-desk .slot.is-tall iframe { width: 332px; max-width: 100%; }
.kit .host-desk .slot.is-wide { clear: both; }
body.host-phone .kit .see .host {
  width: min(360px, 100%);
  margin: 0 auto;
  border-radius: 28px;
}
body.host-phone .kit .host-bar { padding: 12px 16px 10px; justify-content: center; }
body.host-phone .kit .host-page { padding: 16px 16px 22px; }
body.host-phone .kit .host-page h3 { font-size: 1.15rem; max-width: none; }
body.host-phone .kit .host-page p.copy,
body.host-phone .kit .host-page p.fill { font-size: 0.9rem; }
body.host-phone .kit .slot.is-tall,
body.host-phone .kit .slot.is-wide {
  float: none; width: 100%; max-width: none; margin: 1em 0;
}
body.host-phone .kit .slot iframe { width: 100%; }
.kit .credit { margin-top: 10px; font-size: 0.75rem; color: var(--dim); }
.kit .snippet {
  background: #161d20; color: #d7e0e4;
  border-radius: 14px; padding: 14px 16px 16px;
}
.kit .snippet .row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px; margin-bottom: 8px;
}
.kit .snippet .k {
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: #8b9aa0;
}
.kit .snippet button {
  font: inherit; font-size: 0.75rem; font-weight: 650;
  color: #fff; background: #0a8f7a; border: 0; border-radius: 999px;
  padding: 6px 12px; cursor: pointer;
}
.kit .snippet button:hover { filter: brightness(1.05); }
.kit .snippet pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.72rem; line-height: 1.45; white-space: pre-wrap;
  color: #e8eef0; margin: 0;
}
.kit .snippet .hint { margin: 10px 0 0; font-size: 0.76rem; color: #9aa8ae; line-height: 1.4; }
.kit .mail { margin-top: 28px; font-size: 0.9rem; color: var(--muted); max-width: 46rem; }
@media (max-width: 900px) {
  .kit .desk {
    grid-template-columns: 1fr;
    grid-template-areas:
      "make"
      "see"
      "take";
    gap: 22px;
    margin-top: 24px;
  }
  .kit .see { position: static; }
  .kit .rules { grid-template-columns: 1fr; gap: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
  .kit .rules article {
    border: 0; border-radius: 0; border-bottom: 1px solid var(--line);
    padding: 10px 12px; display: grid; grid-template-columns: 6.2rem minmax(0, 1fr);
    gap: 8px; align-items: baseline;
  }
  .kit .rules article:last-child { border-bottom: 0; }
  .kit .rules h3 { margin: 0; }
}
@media (max-width: 560px) {
  .doc.kit { padding: 24px 16px 56px; }
  .kit .hit { grid-template-columns: 1fr; }
  .kit .hit .t { grid-row: auto; }
  .kit .host-page { padding: 16px 16px 20px; }
  .kit .stage-head .hosts { display: none; }
  .kit .host-bar { display: none; }
  body.host-phone .kit .see .host,
  .kit .see .host {
    width: 100%;
    margin: 0;
    border-radius: 16px;
  }
  .kit .host-desk .slot.is-tall,
  body.host-phone .kit .slot.is-tall,
  body.host-phone .kit .slot.is-wide {
    float: none; width: 100%; max-width: none; margin: 1em 0;
  }
  .kit .slot iframe { width: 100%; }
}
