/* Compact lookup controls and comparison rows within the shared site shell. */
.remote-form { border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow-card); overflow: hidden; }
.remote-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 24px; border-bottom: 1px solid var(--line); }
.remote-modes { display: flex; gap: 28px; }
.remote-modes button { min-height: 58px; padding: 0 2px; border: 0; border-bottom: 3px solid transparent; background: none; color: var(--gray); font-size: .9375rem; font-weight: 600; }
.remote-modes button[aria-pressed=true] { color: var(--action); border-bottom-color: var(--action); }
.remote-reset { min-height: 44px; min-width: 44px; }
.remote-form-body { padding: 24px; }
.remote-fields { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr) auto; align-items: end; gap: 16px; }
.remote-form.is-batch .remote-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.remote-field { min-width: 0; }
.remote-field .field-label { margin-bottom: 8px; }
.remote-field input, .remote-field select, #remote-batch-text { width: 100%; min-height: 48px; padding: 11px 13px; color: var(--ink); background: var(--card); border: 1px solid var(--line-strong); border-radius: var(--radius-control); font-size: .9375rem; }
.remote-fields > .btn { min-height: 48px; }
#remote-postcode, #remote-batch-text, .remote-postal { font-family: var(--font-mono); }
#remote-postcode { text-transform: uppercase; letter-spacing: .03em; }
#remote-postcode::placeholder { font-family: var(--font-sans); letter-spacing: normal; text-transform: none; }
.remote-field input[aria-invalid=true], #remote-batch-text[aria-invalid=true] { border-color: var(--bad); }
.remote-help { color: var(--gray); font-size: .75rem; }
.remote-service-field { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; margin-top: 16px; color: var(--gray); font-size: .8125rem; }
.remote-service-field select { min-height: 36px; max-width: 100%; padding: 5px 30px 5px 10px; color: var(--ink); background: var(--surface-soft); border: 1px solid var(--line); border-radius: 8px; font-size: .8125rem; }
.remote-examples { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding-top: 16px; margin-top: 16px; border-top: 1px solid var(--line); color: var(--gray); font-size: .75rem; }
.remote-examples .chip { min-height: 36px; }
.remote-batch-panel { margin-top: 24px; }
.remote-batch-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.remote-batch-heading .field-label { margin: 0; }
.remote-batch-heading .linklike { min-height: 36px; }
#remote-batch-text { display: block; resize: vertical; min-height: 148px; line-height: 1.8; }
#remote-batch-help { margin-top: 8px; }
.remote-batch-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
#remote-file-status, #remote-progress { margin-top: 12px; overflow-wrap: anywhere; }
.remote-error { margin-top: 16px; padding: 12px 16px; color: var(--bad); background: #fff1f1; border-radius: var(--radius-small); font-size: .875rem; }
.remote-load-state { padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); color: var(--gray); font-size: .9375rem; }
.remote-load-state .btn { margin-top: 16px; }
.remote-result { margin-top: 32px; scroll-margin-top: 100px; }
.remote-empty { padding: 28px 20px; text-align: center; color: var(--gray); }
.remote-empty h2 { margin-bottom: 8px; color: #536370; font-size: 1rem; font-weight: 600; }
.remote-empty p { font-size: .875rem; }
.remote-result-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.remote-result-head h2 { font-size: 1.25rem; font-weight: 650; }
#remote-summary { margin-top: 4px; color: var(--gray); font-size: .8125rem; }
.remote-limits { margin-top: 12px; color: var(--gray); font-size: .8125rem; }
.remote-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.remote-filter { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 8px; background: var(--card); color: var(--gray); font-size: .8125rem; }
.remote-filter span { font-size: .75rem; font-variant-numeric: tabular-nums; }
.remote-filter[aria-pressed=true] { color: var(--action); background: var(--surface-tint); border-color: #9ccbc2; }
.remote-table-wrap { border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
.remote-table { width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; font-size: .875rem; }
.remote-table th { padding: 12px 16px; background: var(--surface-soft); color: #536370; text-align: left; font-size: .8125rem; font-weight: 500; }
.remote-table th:first-child { border-top-left-radius: 12px; width: 19%; }
.remote-table th:nth-child(2) { width: 15%; }
.remote-table th:nth-child(3) { width: 15%; }
.remote-table th:nth-child(4) { width: 25%; }
.remote-table th:last-child { border-top-right-radius: 12px; width: 26%; }
.remote-table td { padding: 18px 16px; border-top: 1px solid var(--line); vertical-align: top; overflow-wrap: anywhere; }
.remote-table strong { font-size: .875rem; font-weight: 600; }
.remote-table small { display: block; margin-top: 5px; color: var(--gray); font-family: var(--font-sans); font-size: .75rem; }
.remote-status { display: inline-block; padding: 3px 9px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface-soft); color: #536370; font-size: .75rem; font-weight: 500; }
.remote-status-remote .remote-status { color: var(--warn-ink); background: var(--warn-bg); border-color: #eddbb8; }
.remote-status-invalid .remote-status { color: var(--bad); background: #fff1f1; border-color: #efcdcd; }
.remote-details { font-size: .75rem; }
.remote-details summary { width: fit-content; min-height: 28px; color: var(--action); }
.remote-details > div { margin-top: 8px; color: var(--gray); }
.remote-details p + p { margin-top: 8px; }
.remote-details b { font-weight: 500; color: var(--ink); }
.remote-details a { display: inline-block; margin-top: 8px; }
.remote-row-note { color: var(--gray); font-size: .75rem; }
.remote-pagination { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 16px; margin-top: 20px; }
#remote-page-label { color: var(--gray); font-size: .8125rem; }
.remote-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (max-width: 900px) {
  .remote-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .remote-table th, .remote-table td { padding-inline: 12px; }
}
@media (max-width: 600px) {
  .remote-toolbar { padding-inline: 20px; }
  .remote-modes { gap: 22px; }
  .remote-form-body { padding: 20px; }
  .remote-fields, .remote-form.is-batch .remote-fields { grid-template-columns: minmax(0, 1fr); }
  .remote-service-field .remote-help { flex-basis: 100%; }
  .remote-service-field select { min-height: 44px; }
  .remote-batch-actions .btn { flex: 1; padding-inline: 12px; }
  .remote-batch-actions .remote-help { flex-basis: 100%; }
  .remote-filter { min-height: 44px; }
  .remote-result-head .btn { min-height: 44px; }
  .remote-table-wrap { background: none; border: 0; }
  .remote-table, .remote-table tbody { display: block; width: 100%; }
  .remote-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .remote-table tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 12px; padding: 18px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
  .remote-table td { display: block; border: 0; padding: 0; }
  .remote-table td::before { content: attr(data-label); display: block; color: var(--gray); font-size: .6875rem; margin-bottom: 5px; }
  .remote-table td:first-child { grid-column: 1 / -1; }
  .remote-table td:first-child::before { display: none; }
  .remote-table td:nth-child(4), .remote-table td:last-child { grid-column: 1 / -1; }
  .remote-table td:last-child { padding-top: 8px; border-top: 1px solid var(--line); }
  .remote-table td:last-child::before { display: none; }
  .remote-details summary { min-height: 36px; padding-block: 5px; }
  .remote-table strong { font-size: 1rem; }
  .remote-table td:first-child small { display: inline; margin-left: 12px; }
}
@media (forced-colors: active) {
  .remote-status, .remote-filter, .remote-form, .remote-table-wrap { border: 1px solid ButtonText; }
}
