.sql-reference { margin-top: 12px; }
.sql-reference > details {
  margin-bottom: 8px;
  padding: 10px;
  border: 1px solid var(--panel-border);
  border-radius: 8px;
  min-width: 0;
}
.sql-reference summary { cursor: pointer; font-weight: 600; }
.sql-reference summary ~ details { margin: 8px 0; }
.sql-reference p, .sql-reference pre { overflow-wrap: anywhere; }
.sql-reference pre { white-space: pre-wrap; }
.sample-result-table { overflow: auto; max-height: 320px; }
.sample-result-table table { border-collapse: collapse; }
.sample-result-table th, .sample-result-table td {
  padding: 8px 10px;
  border-bottom: 1px solid var(--panel-border);
  white-space: nowrap;
  text-align: start;
}
.sample-result-table th { background: var(--panel2); }

.legacy-workbench .editor-label { height: auto; min-height: 44px; }
.legacy-workbench .editor-label button {
  min-height: 44px;
  padding: 0 8px;
  color: var(--blue);
  font-size: 14px;
}
#draftSafetyNotice button { min-height: 44px; margin: 4px; }

@media (min-width: 1024px) and (max-height: 1040px) and (orientation: landscape) {
  .workbench-draft-status {
    display: block;
    margin: 0 0 5px;
    padding: 0 4px;
    border: 0;
    font-size: 13px;
    line-height: 1.3;
  }
}
