/* Safe Polygon classes. Package CSS is never loaded. The page owns its title. */
.stmt-problem-statement { line-height: 1.65; overflow-wrap: anywhere; min-width: 0; }
.stmt-problem-statement .stmt-header > .stmt-title { display: none; }
.stmt-problem-statement .stmt-header {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 24px;
  padding: 16px 18px;
  margin: 0 0 24px;
  background: #f7f8fc;
  border: 1px solid #e2e6ef;
  border-radius: 6px;
  font-size: 14px;
}
.stmt-problem-statement .stmt-property-title {
  display: block;
  color: #536079;
  font-size: 12px;
  font-weight: 400;
  margin: 0 0 2px;
}
.stmt-problem-statement .stmt-section-title {
  font-size: 1.1em;
  font-weight: 700;
  margin: 24px 0 10px;
}
.stmt-problem-statement p { margin: 12px 0; }
.stmt-problem-statement p:empty { display: none; }
.stmt-problem-statement .stmt-sample-test {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.stmt-problem-statement .stmt-sample-test > div { min-width: 0; }
.stmt-problem-statement .stmt-sample-test .stmt-title {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 8px;
}
.stmt-problem-statement pre {
  white-space: pre;
  overflow-x: auto;
  overflow-wrap: normal;
  max-width: 100%;
  box-sizing: border-box;
  padding: 12px;
  margin: 8px 0 16px;
  background: #f7f8fc;
  border: 1px solid #e2e6ef;
  border-radius: 5px;
}
.stmt-problem-statement img { max-width: 100%; height: auto; }
.stmt-problem-statement .stmt-tex-font-style-it { font-style: italic; }
.stmt-problem-statement .stmt-tex-font-style-bf { font-weight: 700; }
.stmt-problem-statement .stmt-tex-font-style-tt { font-family: monospace; }
.stmt-problem-statement .stmt-tex-font-size-small { font-size: .85em; }
.stmt-problem-statement .katex-display { overflow-x: auto; overflow-y: hidden; }
@media (max-width: 600px) {
  .stmt-problem-statement .stmt-header,
  .stmt-problem-statement .stmt-sample-test { grid-template-columns: minmax(0, 1fr); }
}
