/* V223: the home hero (the suite hero spec, Nov 29). Copy on the left; on the right one source file with a thread in
   each file type's color to each real output Back Safety Training makes (js/weave.js draws the threads). The drop zone
   sits under the hero; the hero's button opens the file picker and the hero takes a dropped file too. */
.whero{display:grid;grid-template-columns:minmax(0,400px) minmax(0,1fr);gap:40px;align-items:start;padding-top:44px;padding-bottom:40px} /* V243: top-aligned, so the job links under the drop box don't push the outputs out of the first screen */
.whero-copy{display:flex;flex-direction:column;gap:20px;min-width:0}
.whero h1{margin:0;font:500 50px/1.04 var(--display);letter-spacing:-.022em;color:var(--ink);text-wrap:balance}
.whero .lede{margin:0;font-size:19px;line-height:1.55;color:var(--soft);max-width:470px}
.whero-acts{display:flex;flex-wrap:wrap;align-items:center;gap:14px 22px;margin:4px 0 0}
.btn.ink{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:0 24px;border:0;border-radius:6px;background:var(--ink);color:var(--bg);font:500 17px/1 var(--body);cursor:pointer;box-shadow:none}
.btn.ink:hover{filter:none;background:var(--accent-deep)}
.whero-link{font-size:17px;font-weight:500;color:var(--ink);text-underline-offset:4px}
.whero-fine{margin:0;font-size:14px;color:var(--muted)}
.weave .mono,.wv-mono{font-family:var(--mono)}
/* the picture */
.weave{position:relative;display:grid;grid-template-columns:minmax(0,442px) minmax(0,1fr);grid-template-rows:auto auto auto auto 1fr;column-gap:24px;row-gap:12px;align-items:start} /* V227: the slide is the largest output, about 440 px at 1440 */
.weave-threads{position:absolute;left:0;top:0;overflow:visible;pointer-events:none}
.weave-threads path{fill:none;stroke-width:2}
.weave .t-pptx{stroke:var(--c-pptx)}.weave .t-docx{stroke:var(--c-docx)}.weave .t-xlsx{stroke:var(--c-xlsx)}.weave .t-pdf{stroke:var(--c-pdf)}
.weave .fmt{display:inline-flex;align-items:center;justify-content:center;min-width:0;height:auto;padding:3px 6px;border-radius:3px;color:#fff;font:500 11px/1.2 var(--mono)}
.fmt.story{background:var(--c-story)}.fmt.pptx{background:var(--c-pptx)}.fmt.docx{background:var(--c-docx)}.fmt.xlsx{background:var(--c-xlsx)}.fmt.pdf{background:var(--c-pdf)}
.w-src{grid-column:1/-1;justify-self:start;display:flex;align-items:center;gap:12px;width:292px;min-height:60px;margin-bottom:48px;padding:10px 14px;background:var(--panel);border:1px solid var(--line2);border-radius:4px;position:relative;z-index:1}
.w-src .fmt.story{font-size:12px;padding:4px 7px;border-radius:4px}
.w-src b{display:block;font-size:14.5px;font-weight:600;color:var(--ink)}
.w-src .mono{display:block;font-size:11.5px;color:var(--muted)}
.w-chips{display:none}
.w-ppt{grid-column:1;grid-row:2/span 4;margin:0;display:flex;flex-direction:column;gap:8px;position:relative;z-index:1}
.w-ppt figcaption{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--soft)}
.w-ppt img{display:block;width:100%;height:auto;border:1px solid var(--line2);border-radius:4px;background:var(--panel)}
.w-slip{grid-column:2;display:flex;flex-direction:column;gap:6px;padding:12px 14px;background:var(--panel);border:1px solid var(--line2);border-radius:4px;position:relative;z-index:1}
.slip-k{margin:0;display:flex;align-items:center;gap:8px;font-size:12.5px;color:var(--soft)}
.wv-t{margin:0;font:600 15px/1.3 var(--display);color:var(--ink)}
.wv-p{margin:0;font:400 13px/1.4 var(--display);color:var(--soft)}
.wv-rule{display:block;height:10px;border-bottom:1px solid var(--fill2)}
.wv-sb{width:100%;border-collapse:collapse;table-layout:fixed;font-size:11.5px;line-height:1.35;color:var(--soft)}
.wv-sb th,.wv-sb td{border:1px solid var(--line2);padding:4px 5px;text-align:left;vertical-align:top}
.wv-sb th{background:var(--chip);font-weight:600;color:var(--ink)}
.wv-sb th:first-child{width:38px}.wv-sb th:nth-child(2){width:36%}
.wv-ans{list-style:none;padding:0;display:flex;flex-direction:column;gap:2px}
.wv-ans .ok{color:var(--pass);font-weight:600}
.wv-ans .ok::before{content:"✓ "}
/* the drop zone under the hero */
.hdrop{padding-bottom:48px}
.hdrop .drop-card{max-width:none;box-shadow:none}
body.course-open .whero,body.lib-open .whero{display:none}
@media (max-width:1180px){.whero h1{font-size:48px}.whero{gap:40px}}
@media (max-width:980px){
  .whero{grid-template-columns:minmax(0,1fr);gap:32px}
  .weave{max-width:720px}
}
/* a phone: copy, the chip row under the source, the PowerPoint shot, then the learner and reviewer copies side by side */
@media (max-width:640px){
  .whero{padding-top:24px;gap:28px}
  .whero h1{font-size:38px;line-height:1.05}
  .whero .lede{font-size:17px}
  .whero-acts{flex-direction:column;align-items:stretch}
  .btn.ink{width:100%}
  .whero-acts .whero-link{display:none}
  .whero-fine{text-align:center}
  .wide-only{display:none}
  .weave{grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:12px;row-gap:12px}
  .w-src{width:auto;justify-self:stretch;margin-bottom:0;min-height:0}
  .w-chips{grid-column:1/-1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:34px 0 0;position:relative;z-index:1}
  .w-chips .fmt{height:26px;border-radius:3px}
  .w-ppt{grid-column:1/-1;grid-row:auto}
  .w-ppt figcaption{display:none}
  .w-slip{grid-column:auto;padding:12px;align-self:stretch}
  .w-xlsx{display:none}
  .w-slip .slip-k .fmt{display:none}
  .w-docx .slip-k{color:var(--c-docx);font-weight:500}
  .w-pdf .slip-k{color:var(--c-pdf);font-weight:500}
  .wv-ans li:nth-child(3){display:none}
}

/* V231 (site review): the drop zone in the first screen, under the copy; its button opens the file chooser */
.whero-facts{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:4px;font-size:15px;color:var(--ink)}
.whero-drop .drop-card{max-width:none;padding:0;background:none;border:0;box-shadow:none;border-radius:0}
.whero-drop .drop{padding:18px 20px 16px;border:2px dashed var(--dropline);border-radius:4px;background:var(--panel);box-shadow:none;text-align:left;align-items:flex-start;display:flex;flex-direction:column;gap:10px}
.whero-drop .drop-art,.whero-drop .kinds{display:none}
.whero-drop .drop-head{margin:0;font:500 22px/1.2 var(--display);color:var(--ink)}
.whero-drop .btn.big{min-height:48px;padding:0 22px;font-size:16px;border-radius:6px;background:var(--ink);color:var(--bg)}
.whero-drop .drop-more,.whero-drop .drop-note{margin:0;font-size:13px;color:var(--muted);text-align:left}
.whero-fine .whero-link{font-size:14px;margin-left:4px}
@media (min-width:981px) and (max-height:820px){.whero{padding-top:24px}.whero h1{font-size:44px}.whero .lede{font-size:17px}.whero-copy{gap:16px}} /* V231: the button in the first screen at 1366x768 */

/* V243 (site review): the three common jobs, as links under the drop box */
.whero-jobs{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.whero-jobs a{display:inline-flex;align-items:center;min-height:32px;padding:0 12px;border:1px solid var(--line2);border-radius:999px;background:var(--panel);font-size:14px;font-weight:500;color:var(--ink);text-decoration:none}
.whero-jobs a:hover,.whero-jobs a:focus-visible{border-color:var(--product,var(--accent))}
@media (max-width:980px){.whero-jobs{justify-content:center}}
