.sf-prompt, #scan-finding-strip {
  position: absolute; z-index: 19; box-sizing: border-box; color: #eef8f6;
  border: 1px solid #679d9e; background: #152b37; box-shadow: 0 4px 18px #07121d65;
  font: 14px/1.45 system-ui, sans-serif; text-align: left;
}
.sf-prompt {
  display: grid; align-content: center; gap: 0; min-height: 44px;
  padding: 4px 12px; border-radius: 13px; white-space: nowrap;
}
.sf-prompt b { font-weight: 650; }
.sf-prompt small, #scan-finding-strip small { color: #a9e9dd; font-size: 11px; }
.sf-prompt small::before {
  content: ''; width: 5px; height: 5px; margin: 0 5px 2px 0;
  background: #9af3dd; border-radius: 50%; display: inline-block;
}
.sf-prompt:hover { border-color: #affbeb; background: #20434b; }
.sf-leader {
  pointer-events: none; position: absolute; z-index: 18; height: 1px;
  background: #a5f3db; transform-origin: 0 50%; box-shadow: 0 1px 1px #122c37;
}
.sf-leader::before {
  content: ''; position: absolute; top: -3px; left: -3px; width: 7px; height: 7px;
  border: 1px solid #193c43; border-radius: 50%; background: #a5f3db;
}
#scan-finding-strip {
  z-index: 20; width: min(17rem, 69%); max-height: calc(100% - 14px); overflow: auto;
  padding: 8px 10px 10px 12px; border-color: #94e4ce; border-radius: 15px;
}
.sf-head { display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.sf-head h2 { margin: 0; color: #f2fff9; font: 650 16px/1.2 system-ui, sans-serif; }
.sf-card p { margin: 4px 0 0; }
.sf-status { display: block; margin-top: 4px; }
.sf-close {
  flex: 0 0 auto; width: 44px; height: 44px; margin: -4px -6px 0 0;
  border: 0; border-radius: 11px; padding: 0; background: transparent; color: inherit; font-size: 22px;
}
.sf-close:hover { background: #25434c; }
.sf-prompt, .sf-close { touch-action: manipulation; cursor: pointer; }
.sf-prompt:focus-visible, .sf-close:focus-visible { outline: 2px solid #affbeb; outline-offset: 1px; }
.sf-prompt[hidden], .sf-leader[hidden], #scan-finding-strip[hidden], .sf-status:empty { display: none; }
@media (max-width: 680px) and (orientation: portrait) {
  .sf-prompt { font-size: 12px; padding-inline: 8px; }
  #scan-finding-strip { width: min(10rem,46%); padding: 6px 7px 8px 9px; font-size: 13px; }
  .sf-head h2 { font-size: 14px; }
}
