:root{--kn-green:#007F79;--border:#e7efee}body{font-family:Inter,Arial,sans-serif;background:#f8fbfa}

@media (min-width: 992px){
  .col-actions .input-group { width: 120px; }
}

.col-actions .input-group {
  width: 110px;
  flex-shrink: 0;
}
.col-actions form {
  margin: 0;
}
.col-actions .btn {
  white-space: nowrap;
}
@media (max-width: 768px) {
  .col-actions .d-flex {
    flex-wrap: wrap;
    gap: 4px;
  }
}

/* Mobilvenlig modal-scroll + sticky footer */
@media (max-width: 576px){
  .modal.modal-todo .modal-dialog {
    height: 100dvh; /* iOS/Android-safe viewport */
    margin: 0;      /* ingen luft omkring */
  }
}
.modal.modal-todo .modal-content {
  max-height: 100dvh;
  display: flex;
  flex-direction: column;
}
.modal.modal-todo .modal-body {
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  /* reserver plads til header+footer (justér hvis dine hřjder er andre) */
  max-height: calc(100dvh - 8rem);
}
.modal.modal-todo .modal-footer {
  position: sticky;
  bottom: 0;
  background: #fff;
  border-top: 1px solid #e9ecef;
  z-index: 2;
}