/* Keep the detective page centered even when the site's shared stylesheet differs. */
body.dg main.simple-main.detective {
  box-sizing: border-box;
  width: 100%;
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
  padding: 34px 24px 75px;
}
@media (max-width: 600px) {
  body.dg main.simple-main.detective { padding: 24px 18px 56px; }
}
body.dg .detective{max-width:920px} .detective .case-tabs{display:flex;flex-wrap:wrap;gap:10px;margin:24px 0}.detective button{font:inherit;cursor:pointer;border:2px solid #881e28;background:#fff8f4;color:#881e28;border-radius:6px;padding:11px 16px;font-weight:600}.detective button:hover,.detective button:focus-visible{background:#f2dcd5}.detective button[aria-pressed="true"],.detective .primary{background:#881e28;color:white}.detective .case-title{margin:20px 0 8px}.detective .evidence{border-top:1px solid #dfd0c9;padding:16px 0}.detective .evidence summary{cursor:pointer;font-weight:700;color:#881e28}.detective .evidence p{margin:9px 0 0}.detective .answers{display:grid;gap:10px;margin:18px 0}.detective .answers label{display:block;padding:12px;border:1px solid #d9c7bf;border-radius:6px;cursor:pointer}.detective .answers label:has(input:checked){border-color:#881e28;background:#f6e8e2}.detective .feedback{border-left:4px solid #881e28;padding:10px 15px;background:#f5e8e3;margin:16px 0}.detective .muted{color:#625b57}.detective .certificate{border:4px double #881e28;text-align:center;padding:24px;margin:25px 0}.detective .certificate h2{color:#881e28}.detective input[type=text]{font:inherit;padding:10px;max-width:100%;border:1px solid #9b8b85;border-radius:4px}.detective .toolbar{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}.detective .hidden{display:none!important}@media print{.site-header,.site-footer,.back-home,.detective .case-tabs,.detective .toolbar,.detective .instruction,.detective #caseArea,.detective #progress{display:none!important}body.dg{background:white}.detective .certificate{display:block!important}.detective .certificate button{display:none!important}}