.signal-node.source-explorer-trigger {
  position: relative;
  cursor: pointer;
  transition: border-color .16s ease, background .16s ease, box-shadow .16s ease;
}
.signal-node.source-explorer-trigger:hover,
.signal-node.source-explorer-trigger[aria-expanded="true"] {
  border-color: #c9cdd5;
  background: #fff;
  box-shadow: 0 8px 18px -16px rgb(16 12 45 / .48);
}
.signal-node.source-explorer-trigger:focus-visible { outline: 2px solid #2563eb; outline-offset: 2px; }
.signal-more { margin-left: 2px; color: #656e7c; font-size: 8px; font-weight: 600; white-space: nowrap; }
.signal-chevron { width: 12px; margin-left: 2px; color: #8d95a3; font-size: 15px; line-height: 1; text-align: center; transition: transform .16s ease; }
.source-explorer-trigger:hover .signal-chevron { transform: translateX(2px); }
.source-explorer-sr { width: 1px; height: 1px; padding: 0; position: absolute; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.source-explorer-dialog {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  position: fixed;
  inset: 0;
  overflow: hidden;
  border: 0;
  background: transparent;
  color: #100c2d;
}
.source-explorer-dialog[open] { display: flex; }
.source-explorer-dialog::backdrop { background: rgb(16 12 45 / .42); backdrop-filter: blur(5px); }
.source-explorer-sheet {
  width: min(590px, 92vw);
  height: 100dvh;
  margin-left: auto;
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
  background: #fff;
  box-shadow: -28px 0 70px -45px rgb(16 12 45 / .7);
  animation: source-sheet-in .22s ease-out both;
}
@keyframes source-sheet-in { from { opacity: .6; transform: translateX(24px); } to { opacity: 1; transform: none; } }
.source-explorer-head { padding: 28px 30px 23px; display: grid; grid-template-columns: 1fr auto; gap: 18px; border-bottom: 1px solid #e1e4e9; }
.source-explorer-audience { margin: 0 0 9px; color: #747d8b; font-size: 9px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.source-explorer-title { margin: 0; font-size: clamp(28px, 4vw, 38px); line-height: 1.03; letter-spacing: -.04em; font-weight: 500; }
.source-explorer-description { max-width: 475px; margin: 13px 0 0; color: #5e6673; font-size: 12px; line-height: 1.6; }
.source-explorer-close { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid #dfe3e8; border-radius: 50%; background: #fff; color: #100c2d; font-size: 23px; line-height: 1; cursor: pointer; }
.source-explorer-close:hover { background: #f7f6fb; }
.source-explorer-close:focus-visible { outline: 2px solid #2563eb; outline-offset: 2px; }
.source-explorer-body { padding: 25px 30px 32px; overflow-y: auto; overscroll-behavior: contain; }
.source-explorer-group + .source-explorer-group { margin-top: 29px; padding-top: 25px; border-top: 1px solid #e7e9ed; }
.source-explorer-group-head { margin-bottom: 13px; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.source-explorer-group-title { margin: 0; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.source-explorer-group-count { color: #7b8390; font-size: 9px; }
.source-explorer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.source-explorer-card { min-width: 0; min-height: 79px; padding: 10px; display: grid; grid-template-columns: 34px 1fr; gap: 9px; align-items: center; border: 1px solid #e1e4e9; border-radius: 12px; background: #fff; }
.source-explorer-icon { width: 34px; height: 34px; display: grid; place-items: center; overflow: hidden; border: 1px solid #e5e7eb; border-radius: 9px; background: #fafafa; color: #5e6673; font-size: 9px; font-weight: 600; text-align: center; }
.source-explorer-icon img { width: 100%; height: 100%; padding: 3px; object-fit: contain; }
.source-explorer-card-copy { min-width: 0; }
.source-explorer-name { display: block; color: #100c2d; font-size: 10px; line-height: 1.25; font-weight: 500; overflow-wrap: anywhere; }
.source-explorer-kind { margin-top: 4px; display: block; color: #7b8390; font-size: 7px; line-height: 1.25; }
.source-explorer-foot { padding: 18px 30px calc(18px + env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: space-between; gap: 14px; border-top: 1px solid #e1e4e9; background: rgb(255 255 255 / .96); }
.source-explorer-primary { min-height: 42px; padding: 0 17px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; background: #100c2d; color: #fff; font-size: 10px; font-weight: 500; text-decoration: none; }
.source-explorer-primary:hover { background: #2b235d; }
.source-explorer-contact { padding: 0; border: 0; background: transparent; color: #4f467c; font-size: 9px; font-weight: 500; cursor: pointer; text-align: right; }
.source-explorer-contact span { display: block; margin-bottom: 3px; color: #7b8390; font-size: 7px; font-weight: 400; }
body.source-explorer-open { overflow: hidden; }

@media (max-width: 720px) {
  .source-explorer-dialog[open] { align-items: flex-end; }
  .source-explorer-sheet { width: 100%; height: min(88dvh, 760px); border-radius: 23px 23px 0 0; animation-name: source-sheet-up; }
  @keyframes source-sheet-up { from { opacity: .6; transform: translateY(28px); } to { opacity: 1; transform: none; } }
  .source-explorer-head { padding: 23px 20px 19px; }
  .source-explorer-title { font-size: 28px; }
  .source-explorer-description { font-size: 11px; }
  .source-explorer-body { padding: 20px 20px 28px; }
  .source-explorer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .source-explorer-foot { padding-inline: 20px; }
  .signal-more { font-size: 7px; }
}
@media (max-width: 390px) {
  .source-explorer-grid { grid-template-columns: 1fr; }
  .source-explorer-card { min-height: 64px; }
  .source-explorer-foot { align-items: stretch; flex-direction: column; }
  .source-explorer-contact { min-height: 34px; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  .source-explorer-sheet, .signal-chevron { animation: none; transition: none; }
}
