dialog.pac-dialog {
  box-sizing: border-box;
  width: min(1080px, calc(100% - 32px));
  max-width: none;
  max-height: 86dvh;
  padding: 20px;
  overflow: hidden;
  color: var(--shell-text, #edf1f4);
  background: var(--shell-panel, #171b21);
  border: 1px solid var(--shell-line-strong, #39434d);
  border-radius: 12px;
}
.pac-dialog[open] { display: grid; grid-template-rows: auto auto auto minmax(0, 1fr); gap: 14px; }
.pac-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.pac-head h2 { margin: 0; font-size: 20px; }
.pac-controls { display: flex; flex-wrap: wrap; align-items: end; gap: 10px; }
.pac-controls label { display: grid; align-items: start; gap: 5px; color: var(--shell-muted, #949da8); font-size: 13px; min-width: 0; }
.pac-controls label:has(input) { flex: 1 1 190px; }
.pac-dialog .pac-controls :is(button, select, input), .pac-head button { min-height: 40px; }
.pac-controls input { width: 100%; }
.pac-status { min-height: 1.3em; margin: 0; color: var(--shell-muted, #949da8); font-size: 13px; }
.pac-results { overflow: auto; border: 1px solid var(--shell-line, #2b323b); border-radius: 8px; }
.pac-results table { width: 100%; min-width: 605px; border-spacing: 0; text-align: left; font-size: 13px; }
.pac-results thead { position: sticky; z-index: 1; inset-block-start: 0; background: var(--shell-panel-2, #1c2128); }
.pac-results :is(th, td) { padding: 9px 12px; border-block-end: 1px solid var(--shell-line, #2b323b); }
.pac-results tbody tr:last-child > * { border-block-end: 0; }
.pac-results tbody th { font-weight: 550; overflow-wrap: anywhere; }
.pac-results tbody td { white-space: nowrap; }
.pac-results tr > :nth-child(4) { text-align: right; font-variant-numeric: tabular-nums; }
.pac-results td:nth-child(4) { font-weight: 650; }
.pac-results td:last-child { min-width: 72px; }
.pac-results .pac-choose { min-height: 34px; padding: 4px 10px; }
.pac-results .pac-group-start > * { border-block-start: 1px solid var(--shell-line-strong, #39434d); }
.pac-results .pac-empty { padding: 20px 12px; color: var(--shell-muted, #949da8); }
.pac-dialog :focus-visible { outline: 2px solid var(--shell-accent, #62c4ca); outline-offset: 2px; }
@media (max-width: 620px) {
  dialog.pac-dialog { width: calc(100% - 16px); padding: 12px; gap: 10px; }
  .pac-controls label { flex: 1 1 130px; }
  .pac-dialog .pac-controls :is(button, select, input), .pac-head button { min-height: 44px; }
  .pac-results :is(th, td) { padding-block: 13px; }
}
