.datadog-page { overflow-x: clip; }
.datadog-page .case-title h1 { font-family: var(--mono); line-height: 36px; }
.datadog-page .case-section { gap: 17px; }
.datadog-page .case-section h2 { font-size: 20px; line-height: 28px; font-weight: 600; }
.datadog-page .case-section h3 { font-size: 18px; line-height: 28px; font-weight: 600; }
.datadog-page .case-section strong { font-weight: 700; }
.datadog-page .case-section ul, .datadog-page .case-section ol { display: flex; flex-direction: column; gap: 17px; margin: 0; padding-left: 27px; }
.datadog-page .case-facts { grid-template-columns: max-content max-content minmax(0, max-content); }
.datadog-hero { position: relative; align-self: center; width: 100vw; height: 240px; }
.datadog-hero img { position: absolute; bottom: 0; left: 0; display: block; width: 100%; height: 406px; object-fit: cover; object-position: center 70%; }
.datadog-placeholder { display: flex; flex-direction: column; justify-content: center; gap: 14px; min-height: 200px; padding: 32px; margin: 0; border: 1px dashed #d1d1d1; background: #f6f6f6; }
.datadog-placeholder figcaption { font-size: 16px; color: var(--case-muted); }
.datadog-research-more { display: flex; flex-direction: column; gap: 17px; margin-top: 13px; }
.datadog-figure { margin: 0; padding-block: 10px; }
.datadog-figure img { background: var(--page-background); display: block; width: 100%; height: auto; }
.datadog-wide { width: min(1117px, calc(100vw - 48px)); align-self: center; }
.datadog-table-scroll { overflow-x: auto; border: 1px solid var(--case-border); border-radius: 7px; }
.datadog-state-table { width: 838px; border-collapse: collapse; table-layout: fixed; }
.datadog-state-table th, .datadog-state-table td { text-align: left; vertical-align: top; font-weight: 400; padding: 16px; border-bottom: 1px solid var(--case-border); }
.datadog-state-table thead th { background: var(--case-mat); font-weight: 600; }
.datadog-state-table th:first-child { width: 380px; }
.datadog-state-table th:nth-child(2) { width: 145px; }
.datadog-state-table tbody td:first-child { padding: 10px; }
.datadog-state-table tbody tr:last-child > * { border-bottom: 0; }
.datadog-state-image { position: relative; width: 370px; height: 57px; overflow: hidden; background: white; }
.datadog-state-image img { position: absolute; width: 100.24%; height: 103.62%; top: -.89%; left: -.13%; }
.datadog-state-image.state-default img { width: 108.77%; height: 105.59%; left: -.31%; top: -.12%; }
.datadog-state-image.state-dropdown { height: 204px; }
.datadog-state-image.state-dropdown img { width: 100.1%; height: 101.2%; left: -.27%; top: -.72%; }
.selected-view-label { position: absolute; left: 15px; top: 34.09px; width: 55px; height: 16px; border-radius: 10px; background: white; color: #1c2b34; font: 500 8.103px/16px Arial, sans-serif; }
.datadog-tradeoffs { width: 100%; border-collapse: collapse; }
.datadog-tradeoffs th, .datadog-tradeoffs td { vertical-align: top; padding: 16px; text-align: left; font-weight: 400; }
.datadog-tradeoffs th { width: 34%; }
.datadog-tradeoffs thead th { font-weight: 600; }
.datadog-check { display: inline-block; vertical-align: middle; margin-left: 8px; }
[data-theme="dark"] .datadog-placeholder { background: var(--case-mat); border-color: var(--case-border); }
/* Adapt exported static visuals, including their baked-in white surfaces and labels. */
[data-theme="dark"] .datadog-figure img[src$=".png"] {
  background: #fff;
  filter: invert(.92) hue-rotate(180deg);
}
.datadog-page :is(#exploration, #context, #editing, #solution) .datadog-figure { background: var(--page-background); }
.datadog-page :is(#exploration, #context, #editing, #solution) .datadog-figure img { background: var(--page-background); filter: none; }
.datadog-composite { position: relative; display: block; }
.datadog-composite .datadog-interface-layer { display: none; }
/* Keep the screenshot regions in their original colors; only adapt the surrounding mat and captions. */
[data-theme="dark"] .datadog-page :is(#exploration, #context, #editing) .datadog-composite > img:first-child { background: #fff; filter: invert(.92) hue-rotate(180deg); }
[data-theme="dark"] .datadog-page .datadog-composite .datadog-interface-layer { display: block; position: absolute; inset: 0; width: 100%; height: 100%; background: transparent; filter: none; pointer-events: none; }
/* Remove the recordings' outer white canvas without recoloring the laptop or its UI. */
[data-theme="dark"] .datadog-page :is(#media-editing, #media-final-prototype) img {
  clip-path: polygon(11.5% .4%, 88.5% .4%, 89.7% .8%, 90.5% 1.8%, 91.1% 3.5%, 91.1% 91.5%, 100% 91.5%, 100% 95.5%, 99.7% 97%, 98.5% 98%, 94.5% 98%, 94% 99%, 88% 99%, 87.5% 98%, 12.5% 98%, 12% 99%, 6% 99%, 5.5% 98%, 1.5% 98%, .3% 97%, 0 95.5%, 0 91.5%, 8.7% 91.5%, 8.7% 3.5%, 9.3% 1.8%, 10.1% .8%);
}
@media (max-width: 760px) {
  .datadog-page .case-facts { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 680px) {
  .datadog-page .mobile-home, .datadog-page .menu-toggle { background: var(--page-background); border-radius: 50%; }
  .datadog-hero { height: 150px; }
  .datadog-hero img { height: 270px; }
  .datadog-placeholder { padding: 24px; }
  .datadog-wide { width: 100%; }
  .datadog-tradeoffs th, .datadog-tradeoffs td { padding: 10px; }
}
