/* Busy Bins Document Library — additions to the shared design system (css/base.css, a copy of Fleet's).
   Same brand rules: green #C1D82F and black, Arvo headings, Helvetica Neue text, light and dark themes.
   The document itself (.dl-paper) is always white, like the Word file it comes from. */

.dl-apptitle { font-family: var(--display); font-weight: 700; font-size: 17px; letter-spacing: -0.01em; }
.dl-apptitle::before { content: ''; display: inline-block; width: 10px; height: 10px; border-radius: 3px; background: var(--green); margin-right: 10px; vertical-align: 1px; }
.dl-lede { margin: 6px 0 0; color: var(--text-2); max-width: 70ch; }
.ico.spin { animation: dl-spin 1s linear infinite; }
@keyframes dl-spin { to { transform: rotate(360deg); } }
.skeleton { background: linear-gradient(90deg, var(--surface) 0%, var(--surface-3) 50%, var(--surface) 100%); background-size: 200% 100%; animation: dl-shine 1.2s linear infinite; border: 1px solid var(--line); border-radius: var(--r-lg); }
@keyframes dl-shine { to { background-position: -200% 0; } }
.btn.block { width: 100%; justify-content: flex-start; }
.btn.icon-only { width: 40px; padding: 0; }
button.tab { background: none; border: none; border-bottom: 2px solid transparent; cursor: pointer; font: inherit; font-weight: 600; font-size: 14px; }
.modal.dl-wide { width: min(760px, 100%); }
.dim { opacity: .4; pointer-events: none; }
.dl-label { font-size: 13px; font-weight: 600; color: var(--text-2); margin-bottom: 8px; }

/* Library list */
.dl-tools { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; }
.dl-search { position: relative; display: inline-flex; align-items: center; }
.dl-search .ico { position: absolute; left: 12px; color: var(--muted); pointer-events: none; }
.dl-search input.search { padding-left: 38px; width: 280px; }
.dl-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; }
.dl-card { position: relative; display: flex; flex-direction: column; gap: 10px; min-height: 190px; padding: 20px 20px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); color: var(--text); text-decoration: none; transition: border-color .15s, transform .15s var(--ease), box-shadow .15s; }
a.dl-card:hover { border-color: var(--text); text-decoration: none; color: var(--text); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0,0,0,.06); }
a.dl-card:hover .dl-open .ico { transform: translateX(3px); }
.dl-card h2 { font-family: var(--display); font-size: 18.5px; line-height: 1.25; margin: 0; }
.dl-card p { margin: 0; color: var(--text-2); font-size: 13.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dl-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.dl-card-tags, .dl-tags { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; align-items: center; }
.dl-tags { justify-content: flex-start; font-size: 13px; }
.dl-ico { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--green); color: #000; flex: none; }
.dl-cat { display: inline-flex; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--surface-3); color: var(--text-2); }
.dl-card-foot { display: flex; gap: 6px 14px; align-items: center; flex-wrap: wrap; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.dl-card-foot > span { display: inline-flex; gap: 5px; align-items: center; }
.dl-open { margin-left: auto; font-weight: 700; color: var(--text); font-size: 13px; }
.dl-open .ico { transition: transform .15s var(--ease); }
.dl-card.skeleton { min-height: 190px; }
.dl-empty { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 44px 20px; text-align: center; color: var(--muted); }
.dl-empty p { margin: 0; max-width: 52ch; }
.dl-empty strong { color: var(--text); }
.dl-empty .ico { color: var(--faint); }

/* Callouts */
.dl-callout { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); font-size: 14px; }
.dl-callout > .ico { flex: none; margin-top: 1px; color: var(--muted); }
.dl-callout.warn { background: var(--green-wash); border-color: color-mix(in srgb, var(--green) 60%, transparent); }
.dl-callout.warn > .ico { color: var(--green-ink); }
.dl-callout.ask { background: var(--amber-wash); border-color: color-mix(in srgb, var(--amber) 30%, transparent); }
.dl-callout.ask > .ico { color: var(--amber); }
.dl-callout ul { margin: 6px 0 0; padding-left: 18px; }
.dl-callout li + li { margin-top: 4px; }
.dl-qs { list-style: none; padding: 0 !important; }
.dl-qs li { display: flex; gap: 12px; justify-content: space-between; align-items: baseline; }

/* New from a video */
.dl-new { display: flex; flex-direction: column; gap: 18px; max-width: 820px; }
.dl-sec { padding: 22px; display: flex; flex-direction: column; gap: 16px; }
.dl-sec h2 { font-family: var(--display); font-size: 18px; margin: 0; }
.dl-sec-head { display: flex; gap: 14px; align-items: flex-start; }
.dl-sec-head p { margin: 2px 0 0; font-size: 13.5px; }
.dl-step-n { width: 32px; height: 32px; border-radius: 9px; background: var(--green); color: #000; font-family: var(--display); font-weight: 700; display: grid; place-items: center; flex: none; }
.dl-two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field textarea { resize: vertical; line-height: 1.45; }
.field small { font-weight: 400; }
.dl-drop { position: relative; display: block; border: 2px dashed var(--line-strong); border-radius: var(--r-lg); background: var(--surface-2); cursor: pointer; transition: border-color .15s, background-color .15s; }
.dl-drop:hover, .dl-drop.over { border-color: var(--green); background: var(--green-wash); }
.dl-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.dl-drop-in { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 30px 16px; text-align: center; pointer-events: none; }
.dl-drop-in .ico { color: var(--green-ink); }
.dl-picked { display: flex; gap: 16px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface-2); }
.dl-picked video { width: 120px; max-height: 180px; border-radius: 10px; background: #000; flex: none; object-fit: contain; }
.dl-picked > div { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; min-width: 0; }
.dl-picked strong { overflow-wrap: anywhere; }
.dl-tips { font-size: 13.5px; color: var(--text-2); }
.dl-tips summary { cursor: pointer; font-weight: 600; display: inline-flex; gap: 8px; align-items: center; color: var(--text); }
.dl-tips ul { margin: 10px 0 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.dl-progress { display: flex; flex-direction: column; gap: 8px; }
.dl-progress p { margin: 0; font-size: 13.5px; }
.dl-bar { height: 10px; border-radius: 999px; background: var(--surface-3); overflow: hidden; }
.dl-bar span { display: block; height: 100%; width: 0; background: var(--green); border-radius: 999px; transition: width .2s; }
.dl-actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.dl-actions.start { justify-content: flex-start; }

/* Being made */
.dl-state { padding: 28px; display: flex; flex-direction: column; gap: 12px; max-width: 640px; }
.dl-state h2 { font-family: var(--display); font-size: 21px; margin: 0; }
.dl-state p { margin: 0; }
.dl-spinner { width: 54px; height: 54px; border-radius: 16px; background: var(--green); color: #000; display: grid; place-items: center; animation: dl-pulse 1.6s ease-in-out infinite; }
@keyframes dl-pulse { 50% { transform: scale(.92); } }
.dl-stages { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.dl-stages li { display: flex; gap: 10px; align-items: center; color: var(--faint); font-weight: 500; }
.dl-stages li.done { color: var(--text-2); }
.dl-stages li.done .ico { color: var(--ok); }
.dl-stages li.now { color: var(--text); font-weight: 700; }
.dl-stages .dot { width: 18px; height: 18px; display: grid; place-items: center; }
.dl-stages .dot::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); }
.dl-err { color: var(--red); }

/* A document */
.dl-back { display: inline-flex; align-items: center; gap: 4px; color: var(--muted); font-size: 13.5px; font-weight: 600; text-decoration: none; margin-bottom: -6px; }
.dl-back .ico { transform: rotate(180deg); }
.dl-back:hover { color: var(--text); }
.dl-head { display: flex; flex-wrap: wrap; gap: 14px 24px; justify-content: space-between; align-items: flex-end; }
.dl-head-main { display: flex; flex-direction: column; gap: 8px; min-width: 0; flex: 1 1 420px; }
.dl-head h1 { overflow-wrap: anywhere; }
.dl-byline { margin: 0; font-size: 13.5px; }
.dl-head-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.dl-pop { right: 0; left: auto; min-width: 270px; }
.pop button.pop-item.danger { color: var(--red); }
.dl-body { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 22px; align-items: start; }
.dl-side { padding: 18px; display: flex; flex-direction: column; gap: 6px; position: sticky; top: 16px; font-size: 13.5px; }
.dl-side h3 { margin: 10px 0 0; font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.dl-side h3:first-child { margin-top: 0; }
.dl-side p { margin: 0; }
.dl-side .btn { margin-top: 4px; }

/* The document itself, as the Word file shows it (mammoth's HTML of the .docx). */
.dl-paper { background: #fff; color: #1A1A1A; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 44px 48px 52px; font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif; font-size: 15px; line-height: 1.55; box-shadow: 0 1px 2px rgba(0,0,0,.04); overflow-wrap: anywhere; }
:root[data-theme="dark"] .dl-paper { border-color: #2a2a2a; }
.dl-paper::before { content: ''; display: block; height: 34px; margin-bottom: 26px; border-bottom: 3px solid #C1D82F; background: url('../img/logo-dark.png') left top / auto 30px no-repeat; }
.dl-paper h1, .dl-paper h2, .dl-paper h3 { font-family: var(--display); color: #000; letter-spacing: -0.01em; }
.dl-paper h1 { font-size: 30px; margin: 0 0 8px; line-height: 1.2; }
.dl-paper h2 { font-size: 20px; margin: 34px 0 16px; padding-bottom: 6px; border-bottom: 3px solid #C1D82F; }
.dl-paper h3 { font-size: 16.5px; margin: 6px 0 10px; display: flex; align-items: baseline; gap: 10px; }
.dl-paper p { margin: 0 0 10px; }
.dl-paper .dl-meta { color: #6B6B6B; font-size: 13px; margin-bottom: 22px; }
.dl-paper .dl-num { display: inline-grid; place-items: center; min-width: 28px; height: 28px; padding: 0 6px; border-radius: 7px; background: #C1D82F; color: #000; font-size: 15px; flex: none; white-space: nowrap; }
.dl-paper .dl-note { font-style: italic; color: #3D3D3D; border-left: 3px solid #C1D82F; padding-left: 12px; font-size: 14px; }
.dl-paper strong { color: #000; }
.dl-paper ul, .dl-paper ol { padding-left: 22px; margin: 0 0 10px; }
.dl-paper table { width: 100%; border-collapse: collapse; margin: 0 0 6px; table-layout: fixed; }
.dl-paper td { vertical-align: top; padding: 10px 12px; border-bottom: 1px solid #E4E4E0; white-space: normal; font-size: inherit; color: inherit; }
.dl-paper table:first-of-type td:first-child { background: #F3F8D6; width: 160px; font-size: 13.5px; }
.dl-paper td p:last-child { margin-bottom: 0; }
.dl-paper td.dl-shot { width: 38%; text-align: right; }
.dl-paper img { max-width: 100%; height: auto; border-radius: 6px; }
.dl-paper td.dl-shot img { max-height: 520px; width: auto; border: 1px solid #E4E4E0; }
.dl-paper h2 + table td, .dl-paper table:not(:first-of-type) td { border-bottom-color: #E4E4E0; }
.dl-paper td:has(.dl-step) { padding-left: 0; }

/* Versions */
.dl-versions { padding: 8px 20px 18px; }
.dl-versions ol { list-style: none; margin: 0; padding: 0; }
.dl-versions li { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.dl-vn { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-3); font-family: var(--display); font-weight: 700; }
.dl-versions li.current .dl-vn { background: var(--green); color: #000; }
.dl-vtext { display: flex; flex-direction: column; gap: 2px; font-size: 13.5px; }
.dl-vtext .badge { align-self: flex-start; }
.dl-vnote { color: var(--text-2); font-style: italic; }
.dl-vact { display: flex; gap: 10px; align-items: center; }

/* Share */
.dl-everyone { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 1px solid var(--line); border-radius: var(--r); cursor: pointer; }
.dl-everyone input { width: 20px; height: 20px; margin-top: 1px; accent-color: #000; }
.dl-everyone span { display: flex; flex-direction: column; gap: 2px; }
.role-ticks { display: flex; flex-wrap: wrap; gap: 8px; }
.role-tick { position: relative; display: inline-flex; }
.role-tick input { position: absolute; opacity: 0; pointer-events: none; }
.role-tick span { display: inline-flex; align-items: center; min-height: 36px; padding: 4px 16px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 13.5px; font-weight: 600; cursor: pointer; color: var(--text-2); }
.role-tick input:checked + span { background: var(--green); border-color: var(--green); color: #000; }
.role-tick input:focus-visible + span { outline: 2px solid var(--green); outline-offset: 2px; }

/* Editing */
.dl-edit { display: flex; flex-direction: column; gap: 18px; max-width: 1000px; }
.dl-h2 { font-family: var(--display); font-size: 20px; margin: 6px 0 -4px; }
.dl-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.dl-stepcard { display: grid; grid-template-columns: minmax(0, 1fr) 230px; gap: 20px; padding: 18px; }
.dl-step-text { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.dl-step-top { display: flex; gap: 10px; align-items: center; }
.dl-num-badge { width: 34px; height: 34px; border-radius: 9px; background: var(--green); color: #000; font-family: var(--display); font-weight: 700; display: grid; place-items: center; flex: none; }
.dl-step-title { flex: 1; min-width: 0; height: 42px; border: 1px solid var(--line-strong); border-radius: var(--r); padding: 0 12px; font-family: var(--display); font-weight: 700; font-size: 16px; background: var(--surface); color: var(--text); }
.dl-step-title:focus { outline: none; border-color: var(--text); box-shadow: 0 0 0 3px var(--green-wash); }
.dl-step-move { display: flex; flex: none; }
.dl-step-move .icon-btn:disabled { opacity: .3; cursor: default; background: none; }
.dl-step-shot { display: flex; flex-direction: column; gap: 8px; }
.dl-shotbox { position: relative; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: #000; cursor: crosshair; touch-action: none; user-select: none; }
.dl-shotbox img { display: block; width: 100%; max-height: 420px; object-fit: contain; pointer-events: none; }
.dl-box { position: absolute; border: 3px solid #C1D82F; outline: 2px solid #000; border-radius: 4px; pointer-events: none; }
.dl-shot-tools { display: flex; gap: 6px 12px; flex-wrap: wrap; align-items: center; }
.dl-noshot { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 26px 12px; border: 2px dashed var(--line); border-radius: 10px; color: var(--muted); font-size: 13px; }
.dl-frames { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; }
.dl-frame { display: flex; flex-direction: column; gap: 4px; padding: 4px; border: 2px solid transparent; border-radius: 10px; background: var(--surface-2); cursor: pointer; font-size: 12px; color: var(--muted); }
.dl-frame img { width: 100%; aspect-ratio: 9 / 16; object-fit: contain; background: #000; border-radius: 6px; }
.dl-frame:hover { border-color: var(--line-strong); }
.dl-frame.on { border-color: var(--green); background: var(--green-wash); color: var(--text); font-weight: 700; }
.dl-sticky { position: sticky; bottom: 0; padding: 12px 0; background: linear-gradient(transparent, var(--bg) 30%); }

@media (max-width: 1080px) {
  .dl-body { grid-template-columns: 1fr; }
  .dl-side { position: static; }
}
@media (max-width: 900px) {
  .dl-two { grid-template-columns: 1fr; }
  .dl-paper { padding: 22px 18px 28px; font-size: 15px; border-radius: var(--r); }
  .dl-paper::before { height: 28px; background-size: auto 24px; margin-bottom: 18px; }
  .dl-paper h1 { font-size: 24px; }
  .dl-paper td { display: block; padding: 8px 0; border-bottom: none; }
  .dl-paper table:first-of-type td:first-child { width: auto; background: none; padding-bottom: 0; color: #4F5C00; }
  .dl-paper tr { display: block; border-bottom: 1px solid #E4E4E0; padding-bottom: 8px; margin-bottom: 8px; }
  .dl-paper td.dl-shot { width: auto; text-align: left; }
  .dl-paper td.dl-shot img { max-height: 70vh; }
  .dl-stepcard { grid-template-columns: 1fr; }
  .dl-step-shot { max-width: 300px; }
  .dl-search input.search { width: 100%; }
  .dl-search { flex: 1 1 100%; }
  .dl-head-actions { width: 100%; }
  .dl-head-actions .btn.cta { flex: 1; }
  .dl-versions li { grid-template-columns: 44px minmax(0, 1fr); }
  .dl-vact { grid-column: 2; }
  .dl-picked { flex-direction: column; align-items: flex-start; }
}
@media print {
  .dl-back, .dl-head-actions, .dl-side, .dl-callout, .tabs { display: none !important; }
  .dl-body { display: block; }
  .dl-paper { border: none; padding: 0; box-shadow: none; }
}

/* ================= Training ================= */
.dl-cat.train { gap: 4px; align-items: center; background: var(--green-wash); color: var(--green-ink); }
.dl-count { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--red); color: #fff; font-size: 11px; font-weight: 700; margin-left: 4px; }
.pill.on .dl-count { background: var(--green); color: #000; }
.dl-sub { display: block; font-size: 12px; font-weight: 400; }
.dl-done { margin: 8px 0 0; padding-left: 20px; display: flex; flex-direction: column; gap: 4px; font-size: 13.5px; }
.dl-done li .ico { display: inline-block; vertical-align: -3px; margin-right: 4px; }
.dl-records td.wrap { white-space: normal; min-width: 160px; }
.dl-records tbody tr { cursor: pointer; }
.dl-records tbody tr:hover { background: var(--hover); }
/* Assign */
.dl-people { border: 1px solid var(--line); border-radius: var(--r); max-height: 300px; overflow: auto; }
.dl-person { display: flex; gap: 12px; align-items: center; padding: 9px 12px; border-bottom: 1px solid var(--line); cursor: pointer; }
.dl-person:last-child { border-bottom: none; }
.dl-person:hover { background: var(--hover); }
.dl-person input { width: 18px; height: 18px; accent-color: #000; flex: none; }
.dl-person > span:first-of-type { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.dl-person small { color: var(--muted); font-size: 12px; }
.dl-person:has(input:disabled) { opacity: .6; cursor: default; }
/* Course set-up */
.dl-qhead { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.dl-q { padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.dl-q-body { display: grid; grid-template-columns: minmax(0, 1fr) 160px; gap: 20px; }
.dl-q-body > .dl-opts { display: flex; flex-direction: column; gap: 8px; }
.dl-opt { display: flex; gap: 8px; align-items: center; border: 1px solid var(--line-strong); border-radius: var(--r); padding: 4px 6px 4px 10px; background: var(--surface); }
.dl-opt.right { border-color: var(--green); box-shadow: inset 4px 0 0 var(--green); background: var(--green-wash); }
.dl-opt label { display: flex; cursor: pointer; }
.dl-opt input[type=radio] { width: 18px; height: 18px; accent-color: #000; }
.dl-opt input:not([type]) { flex: 1; min-width: 0; border: none; background: transparent; height: 34px; font-size: 14.5px; color: var(--text); }
.dl-opt input:not([type]):focus { outline: none; }
.dl-q-shot img { width: 100%; max-height: 280px; object-fit: contain; background: #000; border-radius: 8px; display: block; }
.dl-q-shot .dl-shot-tools { margin-top: 6px; }
/* Doing a course */
.dl-stepper { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; counter-reset: s; }
.dl-stepper li { display: flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--muted); font-weight: 600; font-size: 13px; }
.dl-stepper li > span { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-3); font-size: 12px; }
.dl-stepper li.done { color: var(--text-2); } .dl-stepper li.done > span { background: var(--green); color: #000; }
.dl-stepper li.now { color: var(--text); border-color: var(--text); } .dl-stepper li.now > span { background: var(--text); color: var(--bg); }
.dl-quiz { display: flex; flex-direction: column; gap: 14px; max-width: 820px; }
.dl-qq { padding: 18px; border: 1px solid var(--line); margin: 0; display: flex; flex-direction: column; gap: 12px; }
.dl-qq.wrong { border-color: color-mix(in srgb, var(--red) 50%, var(--line)); box-shadow: inset 4px 0 0 var(--red); }
.dl-qq legend { display: flex; gap: 10px; align-items: flex-start; font-weight: 700; font-size: 16px; padding: 0; float: left; width: 100%; line-height: 1.35; }
.dl-qq legend + * { clear: both; }
.dl-qq legend .dl-num-badge { width: 28px; height: 28px; font-size: 14px; }
.dl-qimg { max-width: 260px; max-height: 420px; object-fit: contain; border-radius: 10px; border: 1px solid var(--line); background: #000; }
.dl-choices { display: flex; flex-direction: column; gap: 8px; }
.dl-choice { display: flex; gap: 12px; align-items: center; min-height: 48px; padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: var(--r); cursor: pointer; font-size: 15px; }
.dl-choice:hover { border-color: var(--text); }
.dl-choice input { width: 20px; height: 20px; accent-color: #000; flex: none; }
.dl-choice:has(input:checked) { border-color: var(--text); background: var(--green-wash); box-shadow: inset 4px 0 0 var(--green); }
.dl-wrong { margin: 0; color: var(--red); font-size: 13px; font-weight: 600; }
.dl-answers { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 12px; max-width: 760px; }
.dl-answers li { display: flex; flex-direction: column; gap: 2px; }
.dl-answers li span { color: var(--green-ink); font-weight: 700; }
/* Sign-off */
.dl-signoff { border-color: var(--green); box-shadow: inset 4px 0 0 var(--green); }
.dl-signoff h2 { display: flex; gap: 8px; align-items: center; }
.dl-review { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 18px; align-items: start; }
.dl-attempts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; }
.dl-attempts li { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.dl-ev { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.dl-ev:first-of-type { border-top: none; padding-top: 0; }
.dl-ev video, .dl-ev img { width: 100%; max-height: 360px; object-fit: contain; background: #000; border-radius: 10px; }
.dl-ev > div { display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; min-width: 0; }
.dl-ev p { margin: 0; }
.dl-ai { padding: 12px 14px; border-radius: var(--r); background: var(--surface-2); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.dl-ai strong:first-child { display: flex; gap: 6px; align-items: center; }
.dl-ai.ok { border-color: color-mix(in srgb, var(--green) 60%, transparent); background: var(--green-wash); }
.dl-ai.warn { border-color: color-mix(in srgb, var(--amber) 40%, transparent); background: var(--amber-wash); }
.dl-ai ul { margin: 0; padding-left: 18px; }
@media (max-width: 900px) {
  .dl-q-body, .dl-review, .dl-ev { grid-template-columns: 1fr; }
  .dl-q-shot { max-width: 220px; }
  .dl-qimg { max-width: 100%; }
}
