/* /mtd-checker — designed page. The checker is the page: a black column running to the window's left edge holds
   the headline and start dates while the four questions and the result run down the right. */
.dz-mtd-checker { --tint: #f5f4ef; --soft: #b8b8b0; }
.dz-mtd-checker p { margin: 0 0 12px; }
.dz-mtd-checker p:last-child { margin-bottom: 0; }
.dz-mtd-checker [hidden] { display: none !important; }
.dz-mtd-checker .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.dz-mtd-checker .m-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.dz-mtd-checker .m-btns .btn { margin: 0; }

/* The tool */
.dz-mtd-checker .m-tool { display: grid; grid-template-columns: minmax(24px, 1fr) minmax(0, 470px) minmax(0, 770px) minmax(24px, 1fr); }
.dz-mtd-checker .m-side { grid-column: 1 / 3; background: var(--black); color: #e9e9e2; display: flex; justify-content: flex-end; }
.dz-mtd-checker .m-side-in { width: 100%; max-width: 494px; padding: 56px 48px 64px 24px; position: sticky; top: 92px; align-self: flex-start; }
.dz-mtd-checker .m-side h1 { color: var(--white); font-size: clamp(2.3rem, 3.9vw, 3.6rem); }
.dz-mtd-checker .m-side .lead { color: #e9e9e2; margin: 22px 0 0; }
.dz-mtd-checker .m-side h2 { color: var(--white); font-size: clamp(1.5rem, 2.2vw, 1.9rem); margin: 40px 0 6px; }
.dz-mtd-checker .m-starts { list-style: none; margin: 0; padding: 0; }
.dz-mtd-checker .m-starts li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid #34342f; }
.dz-mtd-checker .m-starts b { font-family: "Anton", "Arial Narrow", sans-serif; font-weight: 400; font-size: 1.8rem; line-height: 1.1; color: var(--white); }
.dz-mtd-checker .m-starts span { font-weight: 700; color: var(--soft); }
.dz-mtd-checker .m-note { color: var(--soft); margin-top: 12px; }
.dz-mtd-checker .mtd-deadline-flag { margin-top: 28px; background: var(--lime); color: var(--black); border-radius: var(--radius); padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; }
.dz-mtd-checker .mtd-deadline-flag strong { font-weight: 900; }
.dz-mtd-checker .m-call { margin-top: 22px; }
.dz-mtd-checker .m-call a { color: var(--white); font-weight: 900; text-decoration: none; }

.dz-mtd-checker .m-main { grid-column: 3 / 4; padding: 56px 0 80px 64px; min-width: 0; }
.dz-mtd-checker .mtd-checker { margin: 0; }
.dz-mtd-checker .mtd-questions { list-style: none; margin: 0; padding: 0; counter-reset: none; }
.dz-mtd-checker .mtd-q { position: relative; padding: 0 0 36px 64px; }
.dz-mtd-checker .mtd-q::before { content: ""; position: absolute; left: 20px; top: 46px; bottom: 6px; width: 2px; background: var(--line); }
.dz-mtd-checker .mtd-q fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.dz-mtd-checker .mtd-q legend { padding: 0; margin: 0 0 6px; font-weight: 900; color: var(--black); font-size: 1.2rem; line-height: 1.3; }
.dz-mtd-checker .mtd-num { position: absolute; left: 0; top: -6px; width: 42px; height: 42px; border-radius: 50%; background: var(--lime); color: var(--black); display: grid; place-items: center; font-family: "Anton", "Arial Narrow", sans-serif; font-weight: 400; font-size: 1.3rem; }
.dz-mtd-checker .mtd-help { color: var(--grey); margin: 0 0 14px; }
.dz-mtd-checker .mtd-help strong { color: var(--black); }
.dz-mtd-checker .mtd-options { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 12px; }
.dz-mtd-checker .mtd-q:nth-child(2) .mtd-options { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.dz-mtd-checker .mtd-q:nth-child(3) .mtd-options { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.dz-mtd-checker .mtd-opt { display: flex; align-items: center; gap: 12px; border: 2px solid var(--line); border-radius: var(--radius); padding: 14px 16px; cursor: pointer; color: var(--black); font-weight: 700; background: var(--white); transition: border-color .15s, background .15s; }
.dz-mtd-checker .mtd-opt:hover { border-color: var(--black); }
.dz-mtd-checker .mtd-opt input { width: 20px; height: 20px; flex: none; margin: 0; accent-color: var(--black); }
.dz-mtd-checker .mtd-opt:has(input:checked) { border-color: var(--black); background: var(--lime); }
.dz-mtd-checker .mtd-opt:has(input:focus-visible) { outline: 3px solid var(--black); outline-offset: 2px; }
.dz-mtd-checker #mtd-go { margin: 4px 0 0 64px; }
.dz-mtd-checker .mtd-error { color: #b3261e; font-weight: 900; margin: 0 0 14px 64px; }

.dz-mtd-checker .mtd-result { margin-top: 48px; border-top: 6px solid var(--black); padding-top: 28px; scroll-margin-top: 110px; }
.dz-mtd-checker .mtd-verdict { font-family: "Anton", "Arial Narrow", sans-serif; font-weight: 400; font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: 1.08; color: var(--black); margin-bottom: 18px; }
.dz-mtd-checker .mtd-verdict.in-scope { box-shadow: inset 0 -0.32em 0 var(--lime); display: inline; }
.dz-mtd-checker .mtd-detail { margin-top: 18px; }
.dz-mtd-checker .mtd-detail p { margin: 0 0 12px; }
.dz-mtd-checker .mtd-dates { margin: 28px 0; border: 2px solid var(--black); border-radius: var(--radius); padding: 22px 24px; }
.dz-mtd-checker .mtd-dates h3 { margin: 0 0 12px; }
.dz-mtd-checker .mtd-dates ul { list-style: none; margin: 0; padding: 0; }
.dz-mtd-checker .mtd-dates li { padding: 10px 0 10px 22px; border-top: 1px solid var(--line); position: relative; }
.dz-mtd-checker .mtd-dates li::before { content: ""; position: absolute; left: 0; top: 18px; width: 10px; height: 10px; border-radius: 50%; background: var(--black); }
.dz-mtd-checker .mtd-dates li strong { color: var(--black); font-variant-numeric: tabular-nums; }
.dz-mtd-checker .mtd-dates li.is-next { background: var(--tint); }
.dz-mtd-checker .mtd-dates li.is-next::before { background: var(--lime); box-shadow: 0 0 0 2px var(--black); }
.dz-mtd-checker .mtd-capture { background: var(--tint); border-radius: var(--radius); padding: 24px; margin: 28px 0; }
.dz-mtd-checker .mtd-capture h3 { margin: 0 0 8px; }
.dz-mtd-checker .mtd-email-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.dz-mtd-checker .mtd-email-row input { flex: 1 1 200px; min-width: 0; padding: 12px 14px; border: 2px solid var(--black); border-radius: 8px; font: inherit; background: var(--white); }
.dz-mtd-checker .mtd-email-row .btn { margin: 0; }
.dz-mtd-checker .mtd-consent { color: var(--grey); margin: 12px 0 0; }
.dz-mtd-checker .mtd-msg { margin: 12px 0 0; font-weight: 900; color: var(--black); }
.dz-mtd-checker .mtd-msg.err { color: #8a1c14; }
.dz-mtd-checker .mtd-next p { display: flex; flex-wrap: wrap; gap: 12px; }
.dz-mtd-checker .mtd-next .btn { margin: 0; }

/* What changes: six facts, two to a row on a lime tint */
.dz-mtd-checker .m-facts { background: var(--tint); padding: 72px 0; }
.dz-mtd-checker .mtd-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 64px; margin-top: 32px; counter-reset: fact; }
.dz-mtd-checker .mtd-fact { counter-increment: fact; position: relative; padding: 20px 0 22px 64px; border-top: 2px solid var(--black); }
.dz-mtd-checker .mtd-fact::before { content: counter(fact); position: absolute; left: 0; top: 14px; font-family: "Anton", "Arial Narrow", sans-serif; font-size: 2.4rem; line-height: 1; color: var(--black); }
.dz-mtd-checker .mtd-fact strong { display: block; color: var(--black); font-weight: 900; margin-bottom: 4px; }
.dz-mtd-checker .m-more { margin-top: 28px; }
.dz-mtd-checker .m-more a { color: var(--black); }

/* Questions: heading held on the left, answers open on the right */
.dz-mtd-checker .m-faq { padding: 80px 0; }
.dz-mtd-checker .m-faq .inner { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px 64px; align-items: start; }
.dz-mtd-checker .m-faq h2 { position: sticky; top: 120px; }
.dz-mtd-checker .m-qs details { border-top: 1px solid var(--line); }
.dz-mtd-checker .m-qs details:last-child { border-bottom: 1px solid var(--line); }
.dz-mtd-checker .m-qs summary { cursor: pointer; list-style: none; padding: 20px 44px 20px 0; position: relative; font-weight: 900; color: var(--black); }
.dz-mtd-checker .m-qs summary::-webkit-details-marker { display: none; }
.dz-mtd-checker .m-qs summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-family: "Anton", "Arial Narrow", sans-serif; font-size: 1.8rem; line-height: 1; }
.dz-mtd-checker .m-qs details[open] summary::after { content: "\2212"; }
.dz-mtd-checker .m-qs details p { padding: 0 0 22px; }
.dz-mtd-checker .m-qs a { color: var(--black); }

/* Close */
.dz-mtd-checker .m-close { padding: 0 0 80px; }
.dz-mtd-checker .m-close .inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px 64px; align-items: end; }
.dz-mtd-checker .m-close h2 { border-top: 6px solid var(--lime); padding-top: 24px; }
.dz-mtd-checker .m-close .inner > div { border-top: 6px solid var(--black); padding-top: 24px; }

@media (max-width: 1080px) {
  .dz-mtd-checker .mtd-q:nth-child(2) .mtd-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .dz-mtd-checker .m-tool { grid-template-columns: 1fr; }
  .dz-mtd-checker .m-side { grid-column: 1; display: block; }
  .dz-mtd-checker .m-side-in { position: static; max-width: none; padding: 40px 24px 44px; }
  .dz-mtd-checker .m-main { grid-column: 1; padding: 40px 24px 64px; }
  .dz-mtd-checker .mtd-facts, .dz-mtd-checker .m-faq .inner, .dz-mtd-checker .m-close .inner { grid-template-columns: 1fr; }
  .dz-mtd-checker .m-faq h2 { position: static; }
  .dz-mtd-checker .m-faq { padding: 56px 0; }
  .dz-mtd-checker .m-facts { padding: 52px 0; }
}
@media (max-width: 560px) {
  .dz-mtd-checker .m-side-in { padding: 32px 16px 36px; }
  .dz-mtd-checker .m-main { padding: 32px 16px 56px; }
  .dz-mtd-checker .mtd-q { padding-left: 52px; }
  .dz-mtd-checker .mtd-q::before { left: 16px; }
  .dz-mtd-checker .mtd-num { width: 34px; height: 34px; font-size: 1.1rem; top: -3px; }
  .dz-mtd-checker #mtd-go, .dz-mtd-checker .mtd-error { margin-left: 52px; }
  .dz-mtd-checker .mtd-q:nth-child(3) .mtd-options { grid-template-columns: 1fr; }
  .dz-mtd-checker .mtd-opt { padding: 12px 14px; }
  .dz-mtd-checker .mtd-fact { padding-left: 48px; }
  .dz-mtd-checker .mtd-email-row { flex-direction: column; }
  .dz-mtd-checker .m-starts b { font-size: 1.5rem; }
}
