#info-dialog:has(.sx-explorer) {
  box-sizing:border-box;
  width:min(46rem,calc(100% - 28px));
  max-width:100%;
  max-height:calc(100vh - 32px);
  max-height:calc(100dvh - 32px);
  padding:0;
  overflow:auto;
  overscroll-behavior:contain;
  border:1px solid #b8c0ce;
  border-radius:16px;
  background:#fff;
  color:#17191e;
}
.sx-explorer {
  --sx-blue:var(--as-accent,#2454d9);
  --sx-muted:#525a68;
  --sx-rule:#dce1e8;
  font-family:Inter,Arial,sans-serif;
  line-height:1.45;
  color:#181b21;
  background:#fff;
}
.sx-explorer * { box-sizing:border-box; }
.sx-header,.sx-result,.sx-foot { padding-inline:clamp(16px,3.4vw,28px); }
.sx-header {
  display:grid;
  grid-template-columns:minmax(0,1fr) 44px;
  align-items:center;
  gap:14px 16px;
  padding-block:18px 20px;
  border-bottom:1px solid var(--sx-rule);
}
.sx-header h2 {
  margin:0;
  font-size:clamp(1.4rem,3vw,1.9rem);
  font-weight:620;
  line-height:1.08;
  letter-spacing:-.045em;
  color:#181b21;
  overflow-wrap:anywhere;
}
.sx-close {
  display:inline-grid;
  flex:none;
  width:44px;
  height:44px;
  padding:0;
  place-items:center;
  border:1px solid var(--sx-rule);
  border-radius:8px;
  background:#fff;
  color:#242931;
  cursor:pointer;
}
.sx-close:hover { border-color:#9da8ba; background:#f5f7fa; }
.sx-fields {
  grid-column:1/-1;
  display:grid;
  grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);
  align-items:end;
  gap:14px;
}
.sx-field { min-width:0; }
.sx-field label {
  display:block;
  margin-bottom:6px;
  color:var(--sx-muted);
  font-size:.78rem;
  font-weight:550;
  line-height:1.35;
}
.sx-picker {
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1fr) 16px;
  gap:6px;
  align-items:center;
  min-height:44px;
  padding:9px 11px;
  border:1px solid #99a6b9;
  border-radius:6px;
  background:#fff;
  color:#181b21;
}
.sx-picker select { position:absolute; inset:0; width:100%; height:100%; min-width:0; opacity:0; margin:0; cursor:pointer; font:inherit; font-size:1rem; }
.sx-picker:hover { border-color:var(--sx-blue); }
.sx-picker:focus-within { outline:2px solid var(--sx-blue); outline-offset:2px; }
.sx-choice { font-size:.895rem; font-weight:550; line-height:1.4; overflow-wrap:anywhere; }
.sx-picker svg { color:var(--sx-blue); }
.sx-field-model .sx-picker {
  background:#f2f6ff;
  border-color:#8da9eb;
}
.sx-field-model .sx-choice { color:#153e9c; font-weight:650; }
.sx-result { padding-block:18px; }
.sx-questions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin:0; padding:0; list-style:none; }
.sx-questions li {
  min-width:0;
  margin:0;
  padding:14px 16px 12px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  border:1px solid #d6dde8;
  border-radius:9px;
  background:#fff;
}
.sx-question-meta {
  display:flex;
  align-items:center;
  gap:7px;
  font-size:.76rem;
  line-height:1.35;
  font-weight:550;
  color:#404d64;
}
.sx-binding-mark {
  display:inline-grid;
  flex:none;
  width:25px;
  height:25px;
  place-items:center;
  border-radius:5px;
  color:#244c9e;
  background:#edf2ff;
}
.sx-questions p {
  margin:12px 0 13px;
  color:#3d4654;
  font-size:1.02rem;
  line-height:1.53;
  letter-spacing:-.015em;
  overflow-wrap:anywhere;
}
.sx-questions strong { color:#112c5c; font-weight:700; }
.sx-reference {
  margin-top:auto;
  color:#596578;
  font:500 .7rem/1.4 ui-monospace,SFMono-Regular,Consolas,monospace;
  font-variant-numeric:tabular-nums;
}
.sx-foot { border-top:1px solid var(--sx-rule); background:#fbfcfd; }
.sx-details { margin:0; }
.sx-details summary {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:4px 6px;
  min-height:48px;
  padding-block:9px;
  list-style:none;
  color:#242932;
  font-size:.825rem;
  font-weight:600;
  cursor:pointer;
}
.sx-details summary::-webkit-details-marker { display:none; }
.sx-details summary small { margin-inline-start:auto; font-weight:450; font-size:.77rem; color:var(--sx-muted); }
.sx-details summary svg { width:13px; flex:none; }
.sx-details[open] summary svg { transform:rotate(180deg); }
.sx-details p { margin:0; padding:0 0 15px; max-width:65ch; color:var(--sx-muted); font-size:.86rem; line-height:1.55; }
.sx-close:focus-visible,.sx-details summary:focus-visible { outline:2px solid var(--sx-blue); outline-offset:2px; }
@media (max-width:550px) {
  #info-dialog:has(.sx-explorer) { width:calc(100% - 20px); max-height:calc(100dvh - 20px); border-radius:12px; }
  .sx-header { padding-block:12px 14px; row-gap:9px; }
  .sx-fields { grid-template-columns:minmax(0,1fr); gap:8px; }
  .sx-field label { margin-bottom:4px; }
  .sx-result { padding-block:12px; }
  .sx-questions { grid-template-columns:minmax(0,1fr); gap:8px; }
  .sx-questions li { padding:11px 13px; }
  .sx-questions p { margin:7px 0 9px; font-size:1rem; line-height:1.45; }
}
@media (forced-colors:active) {
  .sx-picker,.sx-close { border-color:ButtonText; }
  .sx-picker:focus-within,.sx-close:focus-visible,.sx-details summary:focus-visible { outline-color:Highlight; }
}
