/* dmarcboard app — report explorer (domain tab "Explorer"). */
.ex-filters-body { display: grid; gap: 14px; }
.ex-selects { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px 14px; }
.ex-selects .field > label, .ex-grid .field > label { font-size: 13px; }
.ex-more { border-top: 1px solid var(--border); padding-top: 12px; }
.ex-more > summary { cursor: pointer; font-weight: 600; font-size: 14px; color: var(--brand); display: inline-flex; align-items: center; gap: 8px; min-height: 32px; }
.ex-more > summary:hover { text-decoration: underline; }
.ex-more > summary .seg-count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: var(--r-pill); background: var(--brand); color: #fff; font-size: 12px; text-decoration: none; }
.ex-form { margin-top: 12px; display: grid; gap: 14px; }
.ex-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 14px; align-items: start; }
.ex-pair { grid-column: span 2; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 12px 14px; }
.ex-grid .help { font-size: 12px; }
.ex-cc { text-transform: uppercase; }
.ex-form-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

.ex-bar { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; }
.ex-chips-wrap { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; min-width: 0; flex: 1 1 320px; }
.ex-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; min-width: 0; }
.ex-chip { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; padding: 2px 2px 2px 10px; border: 1px solid var(--brand-100); background: var(--brand-50); border-radius: var(--r-pill); font-size: 13px; color: var(--navy-900); min-width: 0; }
.ex-chip-k { color: var(--muted-fg); white-space: nowrap; }
.ex-chip-v { font-weight: 600; min-width: 0; }
.ex-chip .icon-btn { width: 28px; height: 28px; min-width: 28px; border-radius: var(--r-pill); }
.ex-nofilter { margin: 0; }
.ex-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.ex-results.ex-loading { opacity: .6; transition: opacity .15s; }
.ex-group { display: flex; align-items: center; gap: 8px; }
.ex-group .input { width: auto; min-width: 190px; }
.ex-note { display: flex; align-items: center; gap: 4px; margin: 0; padding: 10px 24px; border-bottom: 1px solid var(--border); }
.ex-table td { vertical-align: top; }
.ex-table .num { vertical-align: top; }
.ex-src { min-width: 150px; }
.ex-from, .ex-auth { min-width: 150px; }
.ex-key { min-width: 160px; max-width: 420px; }
.ex-val { border: 0; background: none; padding: 0; margin: 0; font: inherit; color: var(--brand); cursor: pointer; text-align: left; text-decoration: underline; text-decoration-color: var(--brand-300);
  text-underline-offset: 2px; overflow-wrap: break-word; border-radius: 4px; }
.ex-val:hover { color: var(--brand-hover); text-decoration-color: currentColor; }
.ex-val:focus-visible { outline: none; box-shadow: var(--focus); }
.ex-src > div:first-child .ex-val, .ex-key .ex-val { font-weight: 600; }
.ex-result { white-space: nowrap; }
.ex-als { display: flex; gap: 8px; margin-top: 6px; font-size: 12px; font-weight: 600; }
.ex-al { display: inline-flex; align-items: center; gap: 2px; }
.ex-al-pass { color: var(--pass); }
.ex-al-fail { color: var(--fail); }
.ex-sig { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 4px; font-size: 13px; }
.ex-sig + .ex-sig { margin-top: 4px; }
.ex-res { font-size: 11.5px; font-weight: 600; padding: 0 6px; border-radius: var(--r-pill); line-height: 18px; }
.ex-res-pass { color: var(--pass); background: var(--pass-bg); }
.ex-res-fail { color: var(--fail); background: var(--fail-bg); }
.ex-sm-from { color: var(--muted-fg); overflow-wrap: anywhere; }
.ex-sm-from:empty { display: none; }
.ex-sort { display: inline-flex; align-items: center; gap: 4px; border: 0; background: none; padding: 0; font: inherit; color: inherit; letter-spacing: inherit; text-transform: inherit; cursor: pointer; }
.ex-sort:hover { color: var(--navy-900); }
.ex-sort:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 4px; }
.ex-up { transform: rotate(180deg); }
th[aria-sort] .ex-sort { color: var(--navy-900); }
.ex-gtable th.num .ex-sort { flex-direction: row-reverse; }
.ex-foot { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 24px; border-top: 1px solid var(--border); }
.ex-foot p { margin: 0; }
.ex-empty h3 { margin: 0; }

.ex-howto > summary { cursor: pointer; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; min-height: 32px; }
.ex-howto-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 28px; margin: 14px 0 0; }
.ex-howto-list dt { font-weight: 600; font-size: 14px; }
.ex-howto-list dd { margin: 2px 0 0; font-size: 14px; }

@media (max-width: 1279px) {
  .ex-selects { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ex-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .ex-selects { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 10px; }
  .ex-grid, .ex-pair { grid-template-columns: minmax(0, 1fr); }
  .ex-key { min-width: 110px; }
  .ex-pair { grid-column: auto; }
  .ex-howto-list { grid-template-columns: minmax(0, 1fr); }
  .ex-actions, .ex-actions .btn { flex: 1 1 auto; justify-content: center; }
  .ex-group { width: 100%; }
  .ex-group .input { flex: 1 1 auto; min-width: 0; }
  .ex-note, .ex-foot { padding-left: 16px; padding-right: 16px; }
  .ex-src { min-width: 0; }
}
