.spv-smart-bar { display: none; }
.spv-check-results .spv-check-entry {
  display: grid;
  gap: 4px;
  width: 100%;
  margin: 8px 0;
  padding: 12px;
  border: 1px solid #c8d4de;
  border-radius: 10px;
  background: #edf3f7;
  color: #1e3548;
  text-align: left;
  cursor: pointer;
}
.spv-check-entry span { font-size: .86rem; }
.spv-assignment-back { display: none; }

@media (max-width: 760px) and (orientation: portrait) {
  body:has(#spv-top-controls) .spv-smart-bar {
    position: fixed;
    inset: auto 0 0;
    z-index: 28;
    display: grid;
    grid-template-columns: auto auto minmax(0, 1fr);
    gap: 8px;
    padding: 8px max(12px, env(safe-area-inset-right))
      calc(8px + env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
    background: #202b36;
    border-top: 1px solid #445567;
    box-shadow: 0 -6px 22px #0003;
  }
  body:has(#spv-top-controls) { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }
  .spv-smart-bar button {
    min-height: 46px;
    padding: 6px 10px;
    border: 1px solid #64788d;
    border-radius: 10px;
    color: #fff;
    background: #344759;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
  }
  #spv-smart-assign { background: #235680; }
  #spv-check-plan { background: #205b47; }
  #spv-check-plan.has-issues { color: #291c08; background: #ffc570; border-color: #ffc570; }
  #bulk-assign, #more-open { display: none !important; }
  .spv-assignment-back { display: inline-flex; }
  #modal .editor-actions { flex-wrap: wrap; }
  #modal .editor-actions button[type="submit"] { background: #205b47; color: #fff; }
}
