/* wider text column so two-panel figures fit */
.book .book-body .page-wrapper .page-inner { max-width: 1000px; }
.MathJax_Display, .math.display { overflow-x: auto; overflow-y: hidden; }
.book .book-body .page-wrapper .page-inner section.normal h1,
.book .book-body .page-wrapper .page-inner section.normal h2 { color: #1f3b5a; }

.code-toggle { display: block; margin: 6px 0 4px auto; font-size: 0.75em; padding: 2px 10px;
  border: 1px solid #c8d0d8; border-radius: 4px; background: #f7f9fa; color: #34495e; cursor: pointer; }
.code-toggle:hover { background: #e9eef2; }

.key { background: #eef4fa; border-left: 5px solid #1f77b4; padding: 10px 16px; margin: 16px 0; }
.key p { margin: 4px 0; }
.wip { background: #fff7e6; border-left: 5px solid #e67e22; padding: 10px 16px; margin: 16px 0; }
.wip p { margin: 4px 0; }
.scripts { background: #f4f6f8; border-left: 5px solid #7b8a99; padding: 8px 16px; margin: 14px 0; font-size: 0.95em; }
.scripts p { margin: 4px 0; }

.check { background: #f7f7f2; border: 1px solid #e2e2d5; border-radius: 6px; padding: 10px 18px; margin: 22px 0; }
.book .book-body .page-wrapper .page-inner section.normal .check h5 { margin-top: 4px; color: #6b5b2a; font-size: 1em; }
.check ol { padding-left: 22px; }
.check ol ol { list-style-type: lower-alpha; }
.check details { margin-top: 6px; color: #333; }
.check summary { cursor: pointer; color: #1f77b4; }

.blue { color: #1f77b4; font-weight: bold; }
.red  { color: #d62728; font-weight: bold; }
.orange { color: #e67e22; font-weight: bold; }
.teal { color: #16a085; font-weight: bold; }
.magenta { color: #c0398b; font-weight: bold; }
.purple { color: #7b4fb5; font-weight: bold; }

/* table headers left-aligned, like the entries */
.book .book-body .page-wrapper .page-inner section.normal table th { text-align: left; }
